No. It's preventing logging to any ftp except 168.192.1.2... nonsense.
iptables -A INPUT -p tcp --destination-port 21 -s 168.192.1.2 -j DROP - This should block all incoming connections on port 21 from 192.168.1.2.
-d - destination, -s - source. ! - except.
Last edited by troop; 03-06-2010 at 04:40 AM.
|