iptables

Help for ICMP types

$ iptables -p icmp -h

Error ping: sendto: Operation not permitted

If this error occurs, all chains in table mangle and nat have to be set to accept.

$ iptables -t mangle -P OUTPUT ACCEPT
$ iptables -t mangle -P PREROUTING ACCEPT
$ iptables -t nat -P OUTPUT ACCEPT
$ iptables -t nat -P POSTROUTING ACCEPT
$ iptables -t nat -P PREROUTING ACCEPT

Guide to IP Layer Network Administration with Linux

 
harry/iptables.txt · Last modified: 2008/10/07 14:46 (external edit)
Locations of visitors to this page

 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki