... | ... | @@ -16,7 +16,7 @@ iface wg0 inet static |
|
|
address your_assigned_ip_address
|
|
|
netmask 255.255.255.255
|
|
|
pre-up ip link add dev wg0 type wireguard
|
|
|
pre-up wg setconf wg0 your_patch_to/wg0.conf
|
|
|
pre-up wg setconf wg0 your_path_to/wg0.conf
|
|
|
post-up ip route add 172.16.0.0/16 dev wg0
|
|
|
post-down ip link delete dev wg0
|
|
|
```
|
... | ... | |