Git Product home page Git Product logo

openvpn-install's Introduction

##openvpn-install Secure OpenVPN installer for Debian, Ubuntu and CentOS.

This script will let you setup your own secure VPN server in no more than a minute.

##Fork

This script is based on the great work of Nyr and its contributors.

I made it because I wanted to have a more secured OpenVPN out-of-the-box. It works like the original script, but is more focused on privacy and espicially better encryption. Nyr's original script uses mainly default parameters regarding encryption, which are not bad, but you can do a lot better with the latest versions of OpenVPN and have nearly state-of-the-art encryption.

Also, Nyr and myself clearly have not the same point of view regarding this script, that's why it's a fork.

The only drawback is that you need to use a recent version of OpenVPN, because some options are only availble since OpenVPN 2.3.3. Therefore I restrain the compatibility of this script to a few but widely used GNU/Linux distributions, to get a recent version of OpenVPN from trusted third-party repositories, if needed.

On the client-side, it's less problematic, but if you want to use an OpenVPN server installed with this script with an old client (<2.3.3), it won't work. If you can't upgrade your client (which is a security problem), use Nyr's script.

Features

This fork includes the following features :

Variants

When you lauch the script you will be asked to choose a mode. Both will work the same way, but slow has higher encryption settings, so it may slow down your connection and take more time to install.

If you're just using your VPN at home, you may choose "fast". But if you're often using public Wi-Fi or traveling a lot, you choose use slow.

FYI, "fast" is still more secured than default OpenVPN settings.

Slow (high encryption)

Features :

  • 4096 bits RSA private key
  • 4096 bits Diffie-Hellman key
  • 256 bits AES-GCM
  • SHA-384 RSA certificate

Fast (lower encryption)

Features :

  • 2048 bits RSA private key
  • 2048 bits Diffie-Hellman key
  • 128 bits AES-GCM
  • SHA-256 RSA certificate

Compatibility

The script is made to work on these OS :

  • Debian 7
  • Debian 8
  • Ubuntu 12.04 LTS
  • Ubuntu 14.04 LTS
  • Ubuntu 16.04 LTS
  • Ubuntu 16.10
  • CentOS 6
  • CentOS 7

##Installation

You have to enable the TUN module otherwise OpenVPN won't work. Ask your host if you don't know how to do it. If the TUN module is not enabled, the script will tell you.

Run the script and follow the assistant:

wget https://raw.githubusercontent.com/Angristan/OpenVPN-install/master/openvpn-install.sh
chmod +x openvpn-install.sh
./openvpn-install.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 cheap VPS for 3โ‚ฌ/month at PulseHeberg.

Credits & Licence

Thanks to the contributors

Old repo

MIT Licence

openvpn-install's People

Contributors

nyr avatar angristan avatar jtbr avatar harvester57 avatar valdikss avatar kcchouette avatar hcartiaux avatar peterdavehello avatar angrysnarl avatar

Watchers

James Cloos avatar Tim Boswell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.