Spotter-VM/vm/etc/network/interfaces

22 lines
443 B
Plaintext
Raw Normal View History

2018-09-04 21:42:26 +02:00
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
2020-02-04 16:09:48 +01:00
auto spocbr0
iface spocbr0 inet static
2018-09-04 21:42:26 +02:00
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
2019-03-22 08:49:00 +01:00
address 172.17.255.1
netmask 255.255.255.0
2019-03-20 08:49:50 +01:00
pre-up ip link add $IFACE type wireguard
2019-03-22 08:49:00 +01:00
pre-up wg setconf $IFACE /etc/wireguard/wg0.conf || ip link del $IFACE
2019-03-20 08:49:50 +01:00
post-down ip link del $IFACE