vp-build/srcpkgs/iptables/files/simple_firewall.rules
Juan RP 4bc904a3ca Added iptables-1.4.7 build template.
--HG--
extra : convert_revision : 0dec638dfbf3583a0fb60e29c5ec475a5a724fd2
2010-04-13 01:15:32 +02:00

12 lines
356 B
Plaintext

*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p icmp -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -j REJECT --reject-with tcp-reset
-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable
-A INPUT -j REJECT --reject-with icmp-proto-unreachable
COMMIT