ifudpwn_epdg.j2: Use ansible variable for gtp0 iface name

This commit is contained in:
Pau Espin 2024-02-19 18:47:46 +01:00
parent 73398e548a
commit 9f2e23b889
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# {{ ansible_managed }}
allow-hotplug {{ epdg_tun_interface }}
iface gtp0 inet manual
iface {{ epdg_tun_interface }} inet manual
up ip rule add fwmark {{ epdg_ipsec_traffic_fwmark }} table {{ epdg_ipsec_traffic_rtable_name }}
up ip route add default dev {{ epdg_tun_interface }} table {{ epdg_ipsec_traffic_rtable_name }}
down ip route del default dev {{ epdg_tun_interface }} table {{ epdg_ipsec_traffic_rtable_name }}