1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-12-01 01:16:05 +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
# OPENVPN OTG CONNECT SCRIPT
echo "Where is the .ovpn config file?: (/path/to/file.ovpn)"
read $fileloc
sudo screen -dmS ovpn openvpn --client $fileloc
read fileloc
sudo screen -dmS ovpn openvpn --config $fileloc
echo "Done, you should be connected, to end the connection, screen -x ovpn and ctrl+c"