Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Created July 13, 2020 21:55
Show Gist options
  • Save austinsonger/6bca8ac5d1220cc44573799a49379480 to your computer and use it in GitHub Desktop.
Save austinsonger/6bca8ac5d1220cc44573799a49379480 to your computer and use it in GitHub Desktop.
Install Pritunl VPN Server on Ubuntu
sudo apt-get update -y
sudo apt-get upgrade -y
sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list << EOF
deb https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse
EOF
sudo tee /etc/apt/sources.list.d/pritunl.list << EOF
deb https://repo.pritunl.com/stable/apt bionic main
EOF
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv E162F504A20CDF15827F718D4B7C549A058F8B6B
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A
sudo apt-get update -y
sudo apt-get --assume-yes install pritunl mongodb-server
sudo systemctl start pritunl mongodb
sudo systemctl enable pritunl mongodb
@nagakong
Copy link

nagakong commented Dec 1, 2020

Hey, I followed your tutorial on alibaba cloud.

I can't access the web interface.

Edge returned the error :

Hmmm… can't reach this page It looks like [My ECS IP] closed the connection

@austinsonger
Copy link
Author

Did you go through the rest of the installation process?

@nagakong
Copy link

Hi, thank you for replying.

I've since moved on to using direct OpenVPN on Debian.

@austinsonger
Copy link
Author

Ugh. I'm sorry you moved to OpenVPN. It consists of over 100,000 lines of code, it is a crap framework.

I prefer Algo VPN, but if you want a VPN with a easy to use interface then Pritunl VPN is the best.

@nagakong
Copy link

Yes, OpenVPN is full of holes.. so far my best experience was with algo+wireguard, it's dns leak proof, I'm not very tech savvy myself and only doing this as a side hobby to create my own VPN server and play a little bit with the linux distributions.

I might try your guide again soon but honestly, I needed to pause the video and type in your download link letter by letter since I couldn't find the link to click, maybe it's just me being n00b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment