In this video I will go through the process of install and use of Pritunl VPN hosted on a proxmox machine. I use this as my home setup when i was unhappy with unifi VPN. I will include commands below.
#update and upgrade
sudo apt update
sudo apt upgrade
#Add repositories
echo "deb http://repo.pritunl.com/stable/apt bionic main" | sudo tee /etc/apt/sources.list.d/pritunl.list
#Add MongoDB repositories
sudo nano /etc/apt/sources.list.d/mongodb-org-4.0.list
deb https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse
#ctl-O to save for nano
#ctl-x to exit for nano
#Add public keys for repositories
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
sudo apt update
#Install Pritunl and MongoDB
sudo apt --assume-yes install pritunl mongodb-server
sudo systemctl start pritunl mongodb
sudo systemctl enable pritunl mongodb
#You should now be able to access it from the WebUI with its IP address
#After the error when starting the server enter these commands
mkdir /dev/net
mknod /dev/net/tun c 10 200