diff options
Diffstat (limited to 'roles/configure_iptables/templates')
-rw-r--r-- | roles/configure_iptables/templates/iptables.rules | 4 |
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 |