2018-09-04 21:42:26 +02:00
|
|
|
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
|
2019-03-20 08:49:50 +01:00
|
|
|
|
|
|
|
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
|