summaryrefslogtreecommitdiff
path: root/roles/configure_iptables/templates
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 21:03:58 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 21:03:58 +0100
commitc216adad03b74dbf954b0b2ed0c615a25f00e1ea (patch)
tree56339f0f489d0b269609fbbf7ad327f6545f0c25 /roles/configure_iptables/templates
parentdad5d1ac2225556a845d2fbd05f74a5f19bd96cf (diff)
added iperf3
Diffstat (limited to 'roles/configure_iptables/templates')
-rw-r--r--roles/configure_iptables/templates/ip6tables.rules2
-rw-r--r--roles/configure_iptables/templates/iptables.rules2
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/configure_iptables/templates/ip6tables.rules b/roles/configure_iptables/templates/ip6tables.rules
index 5667a83..3b3bd03 100644
--- a/roles/configure_iptables/templates/ip6tables.rules
+++ b/roles/configure_iptables/templates/ip6tables.rules
@@ -35,6 +35,8 @@ COMMIT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
# munin
-A INPUT -p tcp -m tcp --dport 4949 -j ACCEPT
+# iperf3
+-A INPUT -p tcp -m tcp -s 2a03:2260:1016::/48 --dport 5201 -j ACCEPT
{% if 'fastd' in group_names %}
# dns
diff --git a/roles/configure_iptables/templates/iptables.rules b/roles/configure_iptables/templates/iptables.rules
index c568e4e..5fbe272 100644
--- a/roles/configure_iptables/templates/iptables.rules
+++ b/roles/configure_iptables/templates/iptables.rules
@@ -33,6 +33,8 @@ COMMIT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
# nginx
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
+# iperf3
+-A INPUT -p tcp -m tcp -s 10.222.0.0/16 --dport 5201 -j ACCEPT
{% if 'fastd' in group_names %}
# dns