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

gre/tun: init ip6gre

parent 18abbb18
Branches
No related tags found
No related merge requests found
Pipeline #21016 passed
{%- for name, interface in pillar.ifaces.items() if 'mode' in interface -%}
{%- if interface.mode == 'gretun' -%}
{%- if interface.mode == 'gretun' or interface.mode == 'gretun6' -%}
auto {{ name }}
iface {{ name }} inet tunnel
{%- if interface.mode == 'gretun' -%}
mode gre
{%- elif interface.mode == 'gretun6' -%}
mode ip6gre
{%- endif -%}
endpoint {{ interface.remote }}
local {{ interface.local }}
{% if 'ttl' in interface %}ttl {{ interface.ttl }} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment