Skip to content
Snippets Groups Projects
Commit 71988e52 authored by skorpy's avatar skorpy :construction_worker:
Browse files

Update ferm-tun.conf.j2

parent c27fb2f3
Branches
No related tags found
No related merge requests found
Pipeline #22771 passed
......@@ -3,7 +3,7 @@ domain (ip ip6) {
chain INPUT {
proto gre saddr (
{% for name, interface in pillar.ifaces.items() if 'mode' in interface %}
{%- if interface.mode == 'gretun' -%}
{%- if interface.mode == 'gretun' or interface.mode == 'gretun6' -%}
{{ interface.remote }}{{ ' ' }}
{%- endif %}
{%- endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment