Differences between revisions 1 and 2
Revision 1 as of 2006-05-16 05:40:22
Size: 427
Editor: rowlf
Comment:
Revision 2 as of 2013-09-18 06:09:33
Size: 427
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Handy iptables scripts

Allow pings:

iptables -I OUTPUT --protocol icmp --jump ACCEPT
iptables -I INPUT --protocol icmp --jump ACCEPT

Testing a clients machine that it can connect to the CC VPN at Crows Nest:

(This should be AFTER any the allow pings lines in scripts, due to being an INSERT type rule.)

iptables -I OUTPUT --protocol icmp -o eth0 --destination 192.168.240.1 --jump DROP

iptables (last edited 2013-09-18 06:09:33 by localhost)