# activate on boot auto wg0 # interface configuration iface wg0 inet static address 192.168.1.24/24 pre-up ip link add wg0 type wireguard pre-up wg setconf wg0 /etc/wireguard/wg0.conf post-up ... post-down ... post-down ip link del wg0