summaryrefslogtreecommitdiff
path: root/roles/configure_iptables/templates/iptables.rules
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-13 17:46:00 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-13 17:46:00 +0200
commit2e5b3ff179ac8487a4b37d47792b079ac9855fa8 (patch)
tree71a1f2a884640de6829b4a2838f4befcae9ce0a6 /roles/configure_iptables/templates/iptables.rules
parent8bad801b15ab010f63cebf80691f658319873317 (diff)
fixed typos
Diffstat (limited to 'roles/configure_iptables/templates/iptables.rules')
-rw-r--r--roles/configure_iptables/templates/iptables.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/configure_iptables/templates/iptables.rules b/roles/configure_iptables/templates/iptables.rules
index 2ae5610..363958d 100644
--- a/roles/configure_iptables/templates/iptables.rules
+++ b/roles/configure_iptables/templates/iptables.rules
@@ -22,7 +22,9 @@ COMMIT
-A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
#dhcp
--I INPUT -i bat0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
+{% for site in sites %}
+-I INPUT -i bat{{ site.name }} -p udp --dport 67:68 --sport 67:68 -j ACCEPT
+{% endfor %}
# ntp
-A INPUT -p udp -m udp --dport 123 -j ACCEPT
# fastd