auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto spocbr0 iface spocbr0 inet static address 172.17.0.1 netmask 255.255.0.0 bridge_fd 0 bridge_stp off bridge_waitport 0 auto wg0 iface wg0 inet static address 172.17.255.1 netmask 255.255.255.0 pre-up ip link add $IFACE type wireguard pre-up wg setconf $IFACE /etc/wireguard/wg0.conf || ip link del $IFACE post-down ip link del $IFACE