1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-28 07:56:07 +03:00
openvpn-install/README.md
2016-03-13 15:41:05 +01:00

60 lines
2.0 KiB
Markdown

##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 isn't bulletproof but has been designed to be as unobtrusive and universal as possible.
##Fork
This fork includes :
- no logs
- TLS 1.2 only
- AES-128-GCM encryption (instead of BF-CBC)
- 4096 bits DH (instead of 2048 bits)
- [FDN's DNS Servers](http://www.fdn.fr/actions/dns/)
- Every feature of the [original script](https://github.com/Nyr/openvpn-install) (I check periodically to sync the latest commits from source)
##Installation
To check your OpenVPN version, use `openvpn --version`
If your server **and** your client have OpenVPN 2.3.x or higher, use *latest*. If your server **or** your client have OpenVPN 2.2.x or lower, use *legacy*.
#Latest (OpenVPN 2.3.x)
It will work for :
- Debian 8
- Ubuntu 14.04 LTS
- Ubuntu 15.10
Run the script and follow the assistant:
```
wget --no-check-certificate https://raw.githubusercontent.com/Angristan/OpenVPN-install-nyr/master/openvpn-install.sh
chmod +x openvpn-install.sh
./openvpn-install.sh
```
#Legacy (OpenVPN 2.2.x)
It's the same script as *latest*, but with older TLS version and cipher suite, to support older devices.
It will work for :
- Debian 7
- Ubuntu 12.04 LTS
Run the script and follow the assistant:
```
wget --no-check-certificate https://raw.githubusercontent.com/Angristan/OpenVPN-install-nyr/master/openvpn-install-legacy.sh
chmod +x openvpn-install-legacy.sh
./openvpn-install-legacy.sh
```
Once it ends, you can run it again to add more users, remove some of them or even completely uninstall OpenVPN.
You can get a little VPS for just 1.5€/month at [PulseHeberg](http://manager.pulseheberg.com/aff.php?aff=1204).
## Licence
Based on the work of [Nyr](https://github.com/Nyr/openvpn-install)
[MIT Licence](https://raw.githubusercontent.com/Angristan/openvpn-install-nyr/master/LICENSE)