

After that log in to each of the rest of the hosts and enter the MongoDB host information.
INSTALL PRITUNL LICENSE
On the first host you’ll then log in with the default user/password of pritunl/pritunl, change the login, and then enter your Enterprise license key. You’ll then need to open your browser to and fill in the MongoDB host information. Sudo apt-key adv -keyserver hkp:// -recv CF8E292AĮcho "deb trusty main" | sudo tee /etc/apt//pritunl.list
INSTALL PRITUNL UPDATE
Then go ahead and connect over SSH.įor each machine do the following: # Update the host You can start as many or as few as you need and with the size that suits best but again use Ubuntu Server 14.04. # Comment out the line "bind_ip = 127.0.0.1" # Tell MongoDB to listen for external connections Sudo apt-key adv -keyserver hkp://:80 -recv 7F0CEB10Įcho "deb trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt//mongodb-org-3.0.list Once logged in you’ll want to execute the following commands: # Update the host Assign one of the EIPs to the host and go ahead and connect over SSH. Make sure you have set the security group up as above. You’ll probably want to put this in your private subnet if you have one.

Go ahead and start an instance of the size that suits your deployment and use Ubuntu Server 14.04. We’ll start with the database host first.


It’s possible to use Arch Linux or Amazon Linux instead if you prefer that.įirst, of course, you’ll need to be logged into the AWS console or have the CLI set up on your machine. In this case I’ll be using AWS but the principals are the same no matter where the hosts are.įor this example we’ll be using Ubuntu Server to keep things more provider-agnostic. The setup is pretty simple but since I didn’t see any articles or posts covering the setup so I thought it would be good to go ahead and put something together. This lets you run multiple Pritunl hosts for your users to provide extra endpoints in the event of a failure. Replicated Servers gives you a unified backend database (using MongoDB) that stores configuration and user information. There are several features that are unlocked by paying for the Enterprise license and one of those is Replicated Servers. It does a nice job of simplifying the management and configuration of the VPN endpoints and, when you pay for Pritunl Enterprise, also includes some other nifty features.
INSTALL PRITUNL SOFTWARE
The software is an open-source GUI frontend for OpenVPN. After doing some research on VPN alternatives to using AWS’ provided VPN options I recently settled on doing a test with the software Pritunl.
