mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-24 05:56:08 +03:00
7 lines
252 B
Bash
7 lines
252 B
Bash
#!/bin/bash
|
|
# OPENVPN OTG CONNECT SCRIPT
|
|
echo "Where is the .ovpn config file?: (/path/to/file.ovpn)"
|
|
read fileloc
|
|
sudo screen -d -m -S vpn openvpn --config $fileloc
|
|
echo "Done, you should be connected, to end the connection, screen -x vpn and ctrl+c"
|