1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 14:06:07 +03:00
openvpn-install/connect.sh
Diveyez e364e52d67 Additions to repo
Added a connection helper script. Made changes to README
2018-03-10 20:44:21 -05:00

7 lines
251 B
Bash

#!/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
echo "Done, you should be connected, to end the connection, screen -x ovpn and ctrl+c"