From Egbert's Wiki
Jump to navigation Jump to search


OpenVPN was choosen to facilitate road-warrior login over secure channels. Therefor a CA is created which can issue and sign certificates for clients. Ofcause commercial certificates can be used too.

OpenVPN Server

To install the server follow ref. 1. This also covers the use of easy-rsa. Easy-rsa used to be installed together with OpenVPN up to version 2.2 but it seems to be automaticcally installed nowadays. If not installed together with OpenVPN in /etc/openvpn, look for the scripts in /usr/share/easy-rsa. Later on the directory structure was modelled after ref. 2. The server configuration file in both references is nearly the same. Only neccessary changes in the example config were made. It was decided to use a routed setup using tun0 and TCP, not UDP. Road-warrior clients will be given an address in a private subnet: The local lan is one client is another subnet:

OpenVPN road-warrior client

OpenVPN Site-to-Site client