summaryrefslogtreecommitdiffstats
path: root/shell/etc/ipt
diff options
context:
space:
mode:
authortv <tv@also>2011-08-09 13:08:01 +0200
committertv <tv@also>2011-08-09 13:08:01 +0200
commit84674bbb50e5737262b8624de1f81a1931f3994f (patch)
tree470a0f69a3564a5ecd6b7849a510fb8e8aa2c06b /shell/etc/ipt
parent26a2bfa9aa099917afef430b9af8e49bfeacf4eb (diff)
ipv4-shield-1: initial commit
Diffstat (limited to 'shell/etc/ipt')
-rw-r--r--shell/etc/ipt/ipv4-shield-1.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/etc/ipt/ipv4-shield-1.rules b/shell/etc/ipt/ipv4-shield-1.rules
new file mode 100644
index 00000000..c879311d
--- /dev/null
+++ b/shell/etc/ipt/ipv4-shield-1.rules
@@ -0,0 +1,10 @@
+*filter
+:INPUT DROP [0:0]
+:FORWARD DROP [0:0]
+:OUTPUT ACCEPT [0:0]
+
+-AINPUT -m state --state RELATED,ESTABLISHED -jACCEPT
+
+-AINPUT -i lo -jACCEPT
+
+COMMIT