OpenVPN comes installed already however I had some trouble with DNS resolution. Here is what I did to resolve my issue:
- Copy your config files to this location:
- /etc/openvpn
- on my *.conf file I added the following lines to the bottom of the file
- script-security 2
- up /etc/openvpn/update-resolv-conf
- down /etc/openvpn/update-resolv-conf
- Once connecting I could ping IPs but not server names. I installed the following and all started working right away:
- sudo apt-get install resolvconf
Reference: https://wiki.archlinux.org/index.php/Systemd-resolved