Update vpn.md

I suggest to move line 291 to 288. For some reason the script was not establishing the vpn tunnel when left on 291.
This commit is contained in:
qubesfan35267 2022-07-06 18:24:40 +00:00 committed by GitHub
parent 3d8733a0ec
commit 415b34a028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -285,9 +285,10 @@ Before proceeding, you will need to download a copy of your VPN provider's confi
VPN_CLIENT='openvpn'
VPN_OPTIONS='--cd /rw/config/vpn/ --config openvpn-client.ovpn --daemon'
su - -c 'notify-send "$(hostname): Starting $VPN_CLIENT..." --icon=network-idle' user
groupadd -rf qvpn ; sleep 2s
sg qvpn -c "$VPN_CLIENT $VPN_OPTIONS"
su - -c 'notify-send "$(hostname): Starting $VPN_CLIENT..." --icon=network-idle' user
~~~
If you are using anything other than OpenVPN, change the `VPN_CLIENT` and `VPN_OPTIONS` variables to match your VPN software.