Skip to content

Helper for creating openvpn hardened configs for both server and client

Notifications You must be signed in to change notification settings

adrian-vlad/openvpn-conf-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openvpn-conf-helper

Setup OpenVPN

The official Ubuntu repository is lagging behind with the version of Openvpn server So do the following:

curl -s https://swupdate.openvpn.net/repos/repo-public.gpg | sudo apt-key add
sudo vim /etc/apt/sources.list.d/openvpn-aptrepo.list
and add "deb http://build.openvpn.net/debian/openvpn/stable xenial main"
sudo apt-get update
sudo apt-get install openvpn
sudo adduser --system --shell /usr/sbin/nologin --no-create-home ovpn
sudo groupadd ovpn
sudo usermod -g ovpn ovpn

Start the script, navigate and input the required options to create configuration files for server and clients. This will create the certificates and all the required settings to setup a hardened openvpn environment.

Copy the files in the resulted folder to /etc/openvpn/ and enable and start the server.

sudo systemctl enable openvpn@server
sudo systemctl start openvpn@server

Copy the client/s .ovpn files to your client/s. Enjoy secured and fast internet communication!

Supported platforms

Ubuntu 16.04 and up. Might work on others. Try and see.

Useful links:

TODO

  • use ECDH instead of DH

About

Helper for creating openvpn hardened configs for both server and client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages