You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
420 B
Plaintext

Connection=tunnel
Interface={{ item.name }}
Mode=gre
Local={{ ansible_default_ipv4.address }}
Remote={{ item.remote }}
ExecUpPost="/usr/bin/ip link set dev {{ item.name }} mtu 1400; /usr/bin/ip tunnel change {{ item.name }} ttl 64"
IP=static
{% if ffrl_ip4 is defined %}
Address=('{{ item.ip4 }}/31' '{{ ffrl_ip4 }}/32')
{% else %}
Address=('{{ item.ip4 }}/31')
{% endif %}
IP6=static
Address6=('{{ item.ip6 }}/64')