7 lines
241 B
INI
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
|