

So, go to the Users tab and then click on the Add Organization button. Before connecting to the server you must create an organization and a user. Pritnul is installed and configured on your server now you'll need to connect it to the server. On the next interface, you'll see an initial setup web page like this:Ĭhange your default login password and if in case you have purchased Pritnul license then fill out SMTP fields as well otherwise ignore it and click on Save button. Enter the default credentials pritnul for both username and password. On the next interface, you'll have to log in to proceed further. It will automatically populate the MongoDB URI so, just click on Save button and proceed further. Once you do that, you'll see a pritnul web page like this: You'll be asked to accept a self-signed certificate, it is completely safe to accept this because it is generated by Pritnul itself. Open up your favorite web browser and visit Please replace YourServerIP with your actual server IP address. You have successfully installed Pritnul on your server, now you will have to configure it from the web for the usage. Next, you will need to start the Pritnul services using the following command.
#Pritunl setup install
You can install the Pritnul and mongodb packages on your server using the following command. sudo apt-get updateĪll the dependencies required installed now and we are ready to install Pritnul package.
#Pritunl setup update
Next, update the package cache using the following command. sudo iptables -A INPUT -p udp -m udp -sport 443 -dport 1025:65355 -j ACCEPT sudo iptables -A INPUT -p tcp -m tcp -sport 443 -dport 1025:65355 -j ACCEPT sudo iptables -A INPUT -p `your protocol` -m `your protocol` -sport `your port` -dport 1025:65355 -j ACCEPT So, modify the firewall rules using the following commands. If in case you have a firewall running on your server then you will need to modify the firewall rules to access it through a web browser. apt-key adv -keyserver hkp:// -recv 7F0CEB10 apt-key adv -keyserver hkp:// -recv CF8E292A Execute the following commands and they'll do the job for you. Next, you will need to add the public keys for the repositories to validate against. Now all the apt repository added successfully. sudo nano /etc/apt//pritunl.listĪdd the following line into the file, and then save and exit. Next, you will need to open the pritnul source file using the following command.

sudo nano /etc/apt//mongodb-org-3.0.listĪdd the following line in the file, and then save and exit from the editor. In order to do so, execute the following command using a nano text editor. Before installing Pritnul package on your server you will need to add the MongoDB apt repository. Once the system is updated, you can proceed further to install and configure the Pritnul.
#Pritunl setup upgrade
sudo apt-get update & sudo apt-get upgrade Install Pritunl Execute the following command and it will do the job for you. We recommend you to upgrade all the available packages and repository before installing any new packages. Your ECS instance must have at least 1GB RAM and 1 Core processor.
#Pritunl setup how to
If you don't know about how to set up your ECS instance, you can refer to this quick-start guide. If you are a new user, you can get a free account in your Alibaba Cloud account.
