Files
ansible/roles/firewall/templates/rules-v6.d/85_whitelist.sh.j2
2025-10-10 11:07:34 +00:00

9 lines
227 B
Django/Jinja

# {{ ansible_managed }}
{% if firewall_late_whitelist_ipv6 %}
# Whitelist IPs
{% for ip in firewall_late_whitelist_ipv6 %}
ip6tables -A INPUT -s {{ ip }} -m comment --comment "whitelist" -j ACCEPT
{% endfor %}
{% endif %}