UFW разрешить PostgreSQL
sudo ufw allow 5432
GutoTrosla
sudo ufw allow 5432
# from anywhere
ufw allow 22
# specific client addr
ufw allow from 15.15.15.0/24 to any port 22
ufw rule comment 'my cool comment here'
# Example
ufw allow from 123.456.78 to any port 22 comment 'My Colleague'