summaryrefslogtreecommitdiff
path: root/roles/configure_iptables
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-06-03 13:06:53 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-06-03 13:06:53 +0200
commitc5748a7c09230ebb882bc37b5cc9ed9c2543a4d9 (patch)
tree9683e9d2a027097a924980b7e5978ac208ed0a51 /roles/configure_iptables
parentd382447de73669987724807e9642add2f50e0c0b (diff)
block fastd via Freifunkffmyk-pre-netsplit
Diffstat (limited to 'roles/configure_iptables')
-rw-r--r--roles/configure_iptables/files/ip6tables.rules1
-rw-r--r--roles/configure_iptables/files/iptables.rules1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/configure_iptables/files/ip6tables.rules b/roles/configure_iptables/files/ip6tables.rules
index 635b748..f7b5ec2 100644
--- a/roles/configure_iptables/files/ip6tables.rules
+++ b/roles/configure_iptables/files/ip6tables.rules
@@ -27,5 +27,6 @@
-A INPUT -j LOGGING
-A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IP6Tables-Dropped: " --log-level 4
-A LOGGING -j DROP
+-A FORWARD -i bat0 -p udp --dport 10000 -j REJECT
COMMIT
# Completed on Mon Feb 22 00:25:52 2016
diff --git a/roles/configure_iptables/files/iptables.rules b/roles/configure_iptables/files/iptables.rules
index 30fef33..49bc7d2 100644
--- a/roles/configure_iptables/files/iptables.rules
+++ b/roles/configure_iptables/files/iptables.rules
@@ -41,6 +41,7 @@ COMMIT
-A INPUT -j LOGGING
-A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
-A LOGGING -j DROP
+-A FORWARD -i bat0 -p udp --dport 10000 -j REJECT
COMMIT
# Completed on Tue Sep 8 21:44:08 2015
# Generated by iptables-save v1.4.21 on Tue Sep 8 21:44:08 2015