This commit is contained in:
Diveyez 2018-03-18 10:24:15 +00:00 committed by GitHub
commit b7df335f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 8 deletions

View File

@ -1,18 +1,27 @@
## openvpn-install ## openvpn-install
OpenVPN [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Debian, Ubuntu and CentOS.
# CONNECTING
./connect.sh
Follow the promots to connect, use the .ovpn files generated by the install.
If you want to make life very easy, you can do: cp connect.sh /usr/local/bin/vpn && chmod +x /usr/local/bin/vpn
#
That will allow you to use the simple command 'vpn' to point it at a .ovpn file and start a daemon process for vpn connectivity.
#
OpenVPN [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Debian, Ubuntu and CentOS.
#
This script will let you setup your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible. This script will let you setup your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
### Server Installation
### Installation ### Installation
Run the script and follow the assistant: Run the script and follow the assistant:
#
`wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh` `wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh`
#
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN. Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
### I want to run my own VPN but don't have a server for that # Client Connecting
You can get a little VPS for just $2.99/month at [Bandwagon Host](https://bandwagonhost.com/aff.php?aff=575&pid=43). ./connect.sh
Follow the promots to connect, use the .ovpn files generated by the install.
### Donations
If you want to show your appreciation, you can donate via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VBAYDL34Z7J6L) or [cryptocurrency](https://pastebin.com/raw/M2JJpQpC). Thanks!

6
connect.sh Normal file
View File

@ -0,0 +1,6 @@
#!/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"