mercoledì 27 ottobre 2010

ubuntu - ufw

//ssh
ufw allow from any|<ip> to any port 22

//http
ufw allow from any to any port 80

//webmin
ufw allow from any to any port 10000

//ftp
ufw allow from any to any port 21
ufw allow proto tcp from any to any port 12122:12199

//postgres in esterno
ufw allow from 192.168.157.61 to 192.168.157.62 port 5432
ufw allow from 192.168.157.62 to 192.168.157.61 port 5432

ufw logging on
ufw enable

Nessun commento: