Pritunl VPN server setup guide

Pritunl VPN Server codes for Ubuntu 20.04 

>>nano install-pritunl.sh

sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list << EOF
deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse
EOF

sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb https://repo.pritunl.com/stable/apt focal main
EOF

sudo apt --assume-yes install gnupg
wget -qO- https://www.mongodb.org/static/pgp/server-5.0.asc | sudo tee /etc/apt/trusted.gpg.d/mongodb-org-5.0.asc
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A | sudo tee /etc/apt/trusted.gpg.d/pritunl.asc
sudo apt update
sudo apt --assume-yes install pritunl mongodb-org
sudo systemctl start pritunl mongod
sudo systemctl enable pritunl mongod
 

Ctrl+O & Ctrl+X to save and quit

>>chmod +x install-pritunl.sh

>>./install-pritunl.sh

...

And then open the web browser, input the IP of VPS as the URL.

Follow the prompt of the page to continue setup and config.

Good luck dude!

Popular posts from this blog

LinuxONE Community Cloud

github.com/Nyr/wireguard-install

永久免费的甲骨文云,升级到付费客户的益处和风险提示