winston replied on Mon, 02/28/2011 - 10:08 Permalink This line Comment: This line sudo iptables-restore < /etc/iptables.rules generates a warning about deprecated syntax. Modifying this line... -A INPUT -i ! lo -d 127.0.0.0/8 -j REJECT to this... (just moving the ! before the -i) -A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT appears to do the trick. reply
This line
sudo iptables-restore < /etc/iptables.rules
generates a warning about deprecated syntax. Modifying this line...
-A INPUT -i ! lo -d 127.0.0.0/8 -j REJECT
to this...
(just moving the ! before the -i)
-A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT
appears to do the trick.