1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-12-01 01:16:05 +03:00
openvpn-install/connect.sh

7 lines
250 B
Bash
Raw Normal View History

#!/bin/bash
# OPENVPN OTG CONNECT SCRIPT
echo "Where is the .ovpn config file?: (/path/to/file.ovpn)"
2018-03-12 08:56:18 +03:00
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"