1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-02-20 07:13:13 +03:00

Additions to repo

Added a connection helper script. Made changes to README
This commit is contained in:
Diveyez 2018-03-10 20:38:01 -05:00
parent 33452242a1
commit e364e52d67
2 changed files with 15 additions and 12 deletions

View File

@ -1,18 +1,15 @@
## openvpn-install ## openvpn-install
#
OpenVPN [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Debian, Ubuntu and CentOS. 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.
#
### Installation ### Server 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.
# Client Connecting
### I want to run my own VPN but don't have a server for that ./connect.sh
You can get a little VPS for just $2.99/month at [Bandwagon Host](https://bandwagonhost.com/aff.php?aff=575&pid=43). 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 -dmS ovpn openvpn --client $fileloc
echo "Done, you should be connected, to end the connection, screen -x ovpn and ctrl+c"