k8s-playground/setup/templates/wireguard.cfg
2019-05-22 13:37:13 +02:00

7 lines
241 B
INI

auto wg-k8s
iface wg-k8s inet static
address {{ wg_ip }}
netmask 255.255.255.0
pre-up ip link add $IFACE type wireguard
pre-up wg setconf $IFACE /etc/wireguard/$IFACE.conf
post-down ip link del $IFACE