Pritunl

Debian (Jessie) install commands: (If using LXC Debian template, you’ll need to install systemd first)

sudo nano /etc/apt/sources.list.d/mongodb-org-3.0.list
deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main

sudo nano /etc/apt/sources.list.d/pritunl.list
deb http://repo.pritunl.com/stable/apt jessie main

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7F0CEB10
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv CF8E292A
sudo apt-get update
sudo apt-get install pritunl mongodb-org
sudo systemctl start mongod pritunl
sudo systemctl enable mongod pritunl

 

Errors:

If you get this [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed on Debian hosts whole attempting to have Pritunl install a Let’s Encrypt certificate you need to install the ca-certificates  package.

sudo apt-get install ca-certificates

When starting the server if this ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)  shows up you can run the following two commands to fix it.

sudo mkdir -p /dev/net/
sudo mknod /dev/net/tun c 10 200

 

Links:

https://docs.pritunl.com/docs/installation
https://packages.debian.org/jessie/ca-certificates
https://github.com/pritunl/pritunl/issues/347

Leave a Reply

Your email address will not be published. Required fields are marked *