initial upload
This commit is contained in:
6
roles/ntp/templates/etc_firewall_rules-v4.d_21_ntp.sh.j2
Normal file
6
roles/ntp/templates/etc_firewall_rules-v4.d_21_ntp.sh.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% for ip in ntp_servers | default([]) %}
|
||||
iptables -A INPUT -s {{ ip }} -p udp --dport 123 -m comment --comment "ntp" -j ACCEPT
|
||||
iptables -A OUTPUT -d {{ ip }} -p udp --dport 123 -m comment --comment "ntp" -j ACCEPT
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user