wireguard switch

This commit is contained in:
2023-02-20 21:41:36 -06:00
parent 46eaf1a99b
commit 1f34333ba5
2 changed files with 12 additions and 11 deletions

View File

@@ -31,8 +31,8 @@ if [ "${VPN_INTERFACE}" = "nordlynx" ]; then
else
#VPN_START=(/bin/systemctl start openvpn)
#VPN_STOP=(/bin/systemctl stop openvpn)
VPN_START=(/usr/bin/wg-quick up Torguard)
VPN_STOP=(/usr/bin/wg-quick down Torguard)
VPN_START=(/usr/bin/wg-quick up wg-torguard)
VPN_STOP=(/usr/bin/wg-quick down wg-torguard)
fi
DEBUGLOGSTOP(){