Pritunl - A very powerful VPN solution

August 22, 2021 23:20

I would recommend to use the docker image directly, because updates are applied that way much faster. But if you absolutly must - here you go…

HowTo use pritunl…

…or how to install on debian buster (make sure to also checkout this neat helper)…

sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list << EOF
deb buster/mongodb-org/4.2 main

sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb buster main

sudo apt-key adv --keyserver hkp:// --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
sudo apt-key adv --keyserver hkp:// --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
sudo apt-get update
sudo apt-get --assume-yes install pritunl mongodb-org-server
sudo systemctl start mongod pritunl
sudo systemctl enable mongod pritunl

(shamelessly fixed and commited to here and here) …If the key is missing: Just rerun the apt-key command with the shown digits…

Change the web interface port

with pritunl set app.server_port [NEW_PORT] on the console.

Client setup

Make sure to have the openvpn packages (also the ones for gnome!) installed.