/openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, CentOS and Fedora

Primary LanguageShellMIT LicenseMIT

Modifications

  • Added password - (removed nopass)
  • Force all traffic through VPN - redirect-gateway def1
  • Use Cloud DNS for DNS server - push "dhcp-option DNS 10.0.0.1"
  • Changed OpenVPN gateway address - Changed references to 10.8.0.0 to 10.9.0.0. This was done because one fo the VPC made on google just happened to also be 10.8.0.0/24 and was causing conflicts with the VPN server's address space.

Copy of modified install instructions from below:

Installation

Run the script and follow the assistant:

wget https://raw.githubusercontent.com/apanagar/openvpn-install/master/openvpn-install.sh -O ~/openvpn-install.sh && sudo 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.

New: wireguard-install is also available.

openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, CentOS and Fedora.

This script will let you set up 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

Run the script and follow the assistant:

wget https://raw.githubusercontent.com/apanagar/openvpn-install/master/openvpn-install.sh -O ~/openvpn-install.sh && sudo 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 VPS from just $1/month at VirMach.

Donations

If you want to show your appreciation, you can donate via PayPal or cryptocurrency. Thanks!