1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 13:43:30 +03:00
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Find a file
toornet 32a91d606c
Update from ORG (#1)
* OpenVZ nf_tables workaround

nf_tables is not available in old OpenVZ kernels, so we need to use
iptables-legacy instead.

This issue only affects Debian 10 as it is the only distribution using iptables
with a nf_tables backend by default.

This is supposedly resolved in the newest kernels: https://bit.ly/3fgNZCh

Additionally, a bugfix for the ip6tables path is also included.

* Improve nf_tables test for OVZ

This test is more reliable and flexible.

* Improved easy-rsa setup

No need to write the tarball to disk.

* Improve TUN device check

While it looks hackish, I don't think there's a better way (in Bash) to open
the /dev/net/tun character device.

Checking for presence of /dev/net/tun like were doing is not good enough.

* Fix TUN device check

Fix for the mistaken stderr redirection, sorry about that. Also, run in a
subshell so we don't need to manually close the file descriptor.

* Small improvements

* Grammar improvements

* Small style changes

* Add Quad9 DNS servers

* egrep IP regex optimizations

* Fix #762

Variables which can be empty, shouldn't be quoted in this situation.

* Fix #764

* resolv.conf parsing optimizations

* Update README.md

* Update README.md

* Bugfix

-N is an illegal option for read in sh, so check if the user is using sh first.

* Update to easy-rsa v3.0.8

* Update AdGuard DNS IP

AdGuard changed their DNS IP recently:
https://adguard.com/en/blog/adguard-dns-new-addresses.html

Thanks @trantuanminh1754 for noticing.

Co-authored-by: Nyr <me@nyr.be>
Co-authored-by: Orcun <59258329+sorcun@users.noreply.github.com>
2021-02-03 14:57:45 -04:00
LICENSE.txt Create LICENSE.txt 2013-12-09 00:53:09 +01:00
openvpn-install.sh Update from ORG (#1) 2021-02-03 14:57:45 -04:00
README.md Update from ORG (#1) 2021-02-03 14:57:45 -04:00

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://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 VPS from just $1/month at VirMach.

Donations

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