Helper script to manage openvpn configuration(s)
Find a file
2022-02-10 16:18:24 +01:00
examples Add template vpn config 2022-02-09 11:46:13 +01:00
.gitignore Initial commit 2021-12-12 23:15:07 +01:00
Makefile Add Makefile 2021-12-13 07:27:50 +01:00
ovpn-admin forgotten hardocded paths, example for server-CA 2022-02-10 16:18:24 +01:00
README.md Fix typos in README 2022-02-09 11:47:50 +01:00

OpenVPN Admin tool

This is work in progress. No attempt is made to make the first steps easy. But, once it is installed, it should work seamless.

Client

Install an OpenVPN client on the client device. For Android these links might serve as a starting point:

Server

Setup the Open-VPN server as usual. Configure the client-config-directory as /etc/openvpn/server/clients.

Configuration

OpenVPN uses X509 certificate based authentication. ovpn-admin comes with a mini-micro CA and provides a one-stop solution:

  1. Create a new client configuration, optionally enable the client:
    ovpn-admin create --enable NAME
    
  2. Find the created configuration in configs/client-configs/NAME.ovpn. Alternatively output the client configuration and redirect the output to a file:
    ovpn-admin show NAME
    
  3. Transfer this config file on a secure way to your client. Make sure that no 3rd party got access to the config. (We recommend using Once.)
  4. Import the configuration on the client.
  5. Start the tunnel.