Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto wg0
- iface wg0 inet static
- pre-up /sbin/ip link add dev wg0 type wireguard
- pre-up /usr/bin/wg setconf wg0 /etc/wireguard/wg0.conf
- post-up /sbin/ip route add 192.168.2.0/24 dev wg0
- up /sbin/ip link set dev wg0 up
- down /sbin/ip link del wg0
- address 192.168.5.1
- netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement