1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-27 23:46:07 +03:00

Update connect.sh

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# 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 --client $fileloc sudo screen -dmS 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"