diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-01-24 03:27:03 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-01-24 03:27:03 +0100 |
commit | 99dddff8625388641b9dd84b0e87a55f5c13bc82 (patch) | |
tree | eb57e8113d70ed94f1ef6bc6575e3c62361259b6 /roles/setup_ffrl_tunnel/templates/netctl | |
parent | d2270e2e5045fa1999e8712394e06c1ff27e6ab3 (diff) |
ffrl uplink and fastd split
Diffstat (limited to 'roles/setup_ffrl_tunnel/templates/netctl')
-rw-r--r-- | roles/setup_ffrl_tunnel/templates/netctl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/setup_ffrl_tunnel/templates/netctl b/roles/setup_ffrl_tunnel/templates/netctl new file mode 100644 index 0000000..98e8af4 --- /dev/null +++ b/roles/setup_ffrl_tunnel/templates/netctl @@ -0,0 +1,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') |