How I installed Openvpn on Xenial Pup

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
jockjunior
Posts: 150
Joined: Tue 29 Jan 2008, 21:11
Location: Lancashire,U.K.
Contact:

How I installed Openvpn on Xenial Pup

#1 Post by jockjunior »

Installing Openvpn on Xenialpup
I had problems downloading the files from ppm as it was very slow and seemed to freeze checking the deps. I downloaded the following debs from ubuntu xenial packages.

openvpn 2.3.10
libatm1
libpkcs11=helper

Install these debs then in /etc make the files

resolvconf-head.conf
resolvconf-tail.conf

in these two files place your dns server ip's in the format

nameserver xx.xx.xx.xx
one to a line

Check for the file update-resolv-conf in /etc/openvpn
if it's not there grab a copy from the web, its easy to find one and place it in /etc/openvpn.

Make a symlink from /sbin/ip (this is already a link ) just link to it and place the link in /usr/sbin.

To enable tunneling and ipv6 open /etc/rc.d/MODULESCONFIG and amend this section to look like below. Dont forget the spaces.

********
#ADDLIST: if a module did not get auto-loaded but you know it is required for
#your hardware, add it to this list. Note, BootManager will read/write this.
#an entry is allowed to have parameters, replace ' ' with ':'. ex: "mmc_block:major=1
#note, list needs a space char at beginning and at end.
ADDLIST=' evdev ipv6 tun '
********
save the file put your vpn conf files in /etc/openvpn and reboot. This was tested using Mullvad vpn.

Post Reply