restrict SSH to some IPs
Posted: 20 Mar 2008, 15:27
Is it possible to configure in csf a list of IPs that are allowed to access SSH and block all the others? I think this is better that changing the SSH port.
In my old iptables script I have a line like this:
Thanks for your great firewall!
In my old iptables script I have a line like this:
Code: Select all
-A INPUT -s x.x.x.x -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT