[Nottingham] How to enable echo (for ping)

Simon Huggins nottingham at mailman.lug.org.uk
Wed Jul 30 16:55:09 2003

On Wed, Jul 30, 2003 at 04:43:16PM +0100, Tom Bird wrote:
> Try 'iptables -A INPUT -i lo -j ACCEPT' or some similar incantation.  Make
> sure 'lo' is actually up.

Won't he want -I INPUT instead of -A INPUT i.e. insert the rule as the
first one not append it to the end of the table so that it overrides any
subsequent rules which disable bits of lo or ICMP specifically.


 -+//  "Oops, yes, we now return you to your regularly scheduled kgcc  \\+-
-+<<                     wars." -- Malcolm Beattie                      >>+-
 -+\\                                                                  //+-
        Colocate your server with http://www.blackcatnetworks.co.uk