Re: blocking icmp protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ...

say:

  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 <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

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, martin@xxxxxxxxxxxxxxxx

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux