From 86364ee4dc035a9554fe159d16d298548de15648 Mon Sep 17 00:00:00 2001 From: gunix Date: Fri, 18 Sep 2020 21:48:44 +0300 Subject: [PATCH] display a message regarding how to disconnect the VPN --- wireguard_and_pf.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wireguard_and_pf.sh b/wireguard_and_pf.sh index afd4674..34fe3b4 100755 --- a/wireguard_and_pf.sh +++ b/wireguard_and_pf.sh @@ -87,8 +87,11 @@ echo OK! echo echo Trying to create the wireguard interface... wg-quick up pia || exit 1 -echo The WireGuard interface got created. -echo At this point, internet should work via VPN. +echo "The WireGuard interface got created. +At this point, internet should work via VPN. + +--> to disconnect the VPN, run: +$ wg-quick down pia" # This section will stop the script if PIA_PF is not set to "true". if [ "$PIA_PF" != true ]; then