software firewall, allow ftps only
can i write new lines in /etc/sysconfig/iptables -
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 990 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 50000:50100 -j ACCEPT
to only allow ssh (22) ftps (990, 50000:50100) and from my router im only going to allow ftps ports only to my ftp server, NO ssh access
cheers,
rob
|