From e364e52d67201b67b718317e7040cc9d3fa74016 Mon Sep 17 00:00:00 2001 From: Diveyez Date: Sat, 10 Mar 2018 20:38:01 -0500 Subject: [PATCH] Additions to repo Added a connection helper script. Made changes to README --- README.md | 21 +++++++++------------ connect.sh | 6 ++++++ 2 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 connect.sh diff --git a/README.md b/README.md index cfe3d1b..0aec349 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,15 @@ ## openvpn-install +# 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. - -### Installation +# +### Server Installation Run the script and follow the assistant: - +# `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. - -### I want to run my own VPN but don't have a server for that -You can get a little VPS for just $2.99/month at [Bandwagon Host](https://bandwagonhost.com/aff.php?aff=575&pid=43). - -### 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! \ No newline at end of file +# Client Connecting +./connect.sh +Follow the promots to connect, use the .ovpn files generated by the install. diff --git a/connect.sh b/connect.sh new file mode 100644 index 0000000..2a722fb --- /dev/null +++ b/connect.sh @@ -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"