summaryrefslogtreecommitdiffstats
path: root/modules/cd/iptables.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-06-18 22:27:45 +0200
committerlassulus <lass@aidsballs.de>2015-06-18 22:27:45 +0200
commit5a2de716078f25df47d552c7eca1c0d39446320e (patch)
treedebad5b3b6f2fa97a997caab7cf8f39acb73bbe4 /modules/cd/iptables.nix
parent4c2d2eaa1172bc9b210dac5f5eaf6cd4831925f6 (diff)
parentc868cff63b120e034e5bd418959039ccb210ca52 (diff)
Merge branch 'master' of nomic:config into tv
Diffstat (limited to 'modules/cd/iptables.nix')
-rw-r--r--modules/cd/iptables.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cd/iptables.nix b/modules/cd/iptables.nix
index 48425e8..950aa84 100644
--- a/modules/cd/iptables.nix
+++ b/modules/cd/iptables.nix
@@ -63,6 +63,7 @@
ip4tables -A Retiolum -j ACCEPT -p icmp --icmp-type echo-request
ip6tables -A Retiolum -j ACCEPT -p ipv6-icmp -m icmp6 --icmpv6-type echo-request
+ ipXtables -A Retiolum -j ACCEPT -p tcp --dport http -m conntrack --ctstate NEW
${when log "ipXtables -A Retiolum -j LOG --log-level info --log-prefix 'REJECT '"}
ipXtables -A Retiolum -j REJECT -p tcp --reject-with tcp-reset