1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 14:06:07 +03:00

Update connect.sh

This commit is contained in:
Diveyez 2018-03-12 01:59:16 -04:00 committed by GitHub
parent 14bba7f186
commit 6e5bc83d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,5 +2,5 @@
# OPENVPN OTG CONNECT SCRIPT # OPENVPN OTG CONNECT SCRIPT
echo "Where is the .ovpn config file?: (/path/to/file.ovpn)" echo "Where is the .ovpn config file?: (/path/to/file.ovpn)"
read fileloc read fileloc
sudo screen -dmS ovpn openvpn --config $fileloc sudo screen -d -m -S ovpn openvpn --config $fileloc
echo "Done, you should be connected, to end the connection, screen -x ovpn and ctrl+c" echo "Done, you should be connected, to end the connection, screen -x ovpn and ctrl+c"