[email protected]
[Top] [All Lists]

Re: blocking icmp protocol

Subject: Re: blocking icmp protocol
From: Cameron Simpson
Date: Tue, 19 Dec 2006 20:09:42 +1100
If, as suggested by another poster, there is an earlier rule permitting
icmp access, try "inserting" the rule instead of "appending it. So
instead of:

  iptables -A INPUT -p icmp ...


  iptables -I INPUT -p icmp ...

Because the first rule to match applies, your blocking rule needs to
appear before something that lets icmp through.
Cameron Simpson <[email protected]> DoD#743

Always code as if the guy who ends up maintaining your code will be a violent
psychopath who knows where you live.
        - Martin Golding, DoD #0236, [email protected]

redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe

<Prev in Thread] Current Thread [Next in Thread>