summaryrefslogtreecommitdiff
path: root/roles/setup_ffrl_tunnel/templates/netctl
blob: 98e8af453055077b9a05bde3e236fc874341d7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
Address=('{{ item.ip4 }}/31' '{{ ffrl_ip4 }}/32')

IP6=static
Address6=('{{ item.ip6 }}/64')