mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-26 16:19:25 +08:00
VPN: wg-postup.sh: missing dev
This commit is contained in:
parent
95e799260a
commit
738230d4cc
1 changed files with 1 additions and 1 deletions
2
vpn/wg-postup.sh
Normal file → Executable file
2
vpn/wg-postup.sh
Normal file → Executable file
|
@ -8,5 +8,5 @@ PEER_IPV6="$5"
|
||||||
|
|
||||||
ip addr del "$LOCAL_IP" dev "$IF"
|
ip addr del "$LOCAL_IP" dev "$IF"
|
||||||
ip addr add "$LOCAL_IP" peer "$PEER_IP" dev "$IF"
|
ip addr add "$LOCAL_IP" peer "$PEER_IP" dev "$IF"
|
||||||
ip addr del "$LOCAL_IPV6"
|
ip addr del "$LOCAL_IPV6" dev "$IF"
|
||||||
ip addr add "$LOCAL_IPV6" peer "$PEER_IPV6" dev "$IF"
|
ip addr add "$LOCAL_IPV6" peer "$PEER_IPV6" dev "$IF"
|
||||||
|
|
Loading…
Reference in a new issue