

Log Activation is not mandatory for OpenVPN to work, but in my case I activated logs to do monitoring with Munin. Modifying the client.ovpn configuration file to force the use of DNS servers nano client.ovpn

With openvpn-update-resolv-conf, it will be possible to force the use of the DNS servers defined on the OpenVPN server.
#Openvpn activation key install
On the client machine install the package openvpn-update-resolv-conf :įor other distributions : wget -no-check sudo mv update-resolv-conf.sh /etc/openvpn/ Yum install openvpn resolvconf Use DNS servers defined by the server Normally the resolvconf package should already be installed, in doubt I added it. Installation on the client computer of the packages needed to connect to the OpenVPN server Make the script compatible with Linux Mint 18Įdit the openvpn-install.sh script: sudo nano openvpn-install.shĪdd on line 33 before the directive then: & ]īy default the file generated by the server is functional immediately, but we will make some small changes to force the use of DNS servers defined by the OpenVPN server and the addition of parameters for the management of logs. This file is to be transferred to the client computer. ovpn configuration file in the / root directory. Make the script executable: chmod + x openvpn-install.sh This script, we tested it only on Debian 8.ĭownload the script: wget -no-check-certificate OpenVPN automatic installation script for Debian, Ubuntu and CentOS
#Openvpn activation key windows
ovpn configuration file for use with the OpenVPN client on all GNU / Linux, MacOS X and Windows operating systems. This script allows you to install and configure your own VPN server in less than 5 minutes by generating a. To simplify the installation of OpenVPN server, an installation script is available on github, named openvpn-install.
