initial upload
This commit is contained in:
8
roles/firewall/templates/rules-v6.d/20_whitelist.sh.j2
Normal file
8
roles/firewall/templates/rules-v6.d/20_whitelist.sh.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if firewall_whitelist_ipv6 %}
|
||||
# Whitelist IPs
|
||||
{% for ip in firewall_whitelist_ipv6 %}
|
||||
ip6tables -A INPUT -s {{ ip }} -m comment --comment "whitelist" -j ACCEPT
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user