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:
parent
0f59aa6e03
commit
14bba7f186
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user