Spotter-VM/_vm/etc/network/interfaces

22 lines
419 B
Plaintext

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto lxcbr0
iface lxcbr0 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.18.0.2
netmask 255.255.255.252
pre-up ip link add $IFACE type wireguard
pre-up wg setconf $IFACE /etc/wireguard/wg0.conf
post-down ip link del $IFACE