wireguard: update config
This commit is contained in:
parent
a74b0de340
commit
fce2789366
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -69,6 +69,7 @@
|
|||
${iproute}/bin/ip link set wg0 netns wg
|
||||
${iproute}/bin/ip -n wg address add ${secret.wireguard.ipv4} dev wg0
|
||||
${iproute}/bin/ip -n wg -6 address add ${secret.wireguard.ipv6} dev wg0
|
||||
${iproute}/bin/ip -n wg link set wg0 mtu 1320
|
||||
${iproute}/bin/ip -n wg link set wg0 up
|
||||
${iproute}/bin/ip -n wg route add default dev wg0
|
||||
${iproute}/bin/ip -n wg -6 route add default dev wg0
|
||||
|
|
Loading…
Reference in a new issue