You can use any of them.įinally, to get the configuration files for your OpenVPN client, go to the Users tab and select the link button to the right of the user. Pritunl comes with its own clients for Linux, Windows, and Mac. You can connect to the server using any OpenVPN compatible software. This completes the configuration of your Pritunl VPN server. Once this is done, click on Start Server. Now click on Attach Organization to attach this server to the organization created earlier. Both values should be the same for the server to work. Use the protocol and port you selected earlier while configuring your firewall. You will see a screen similar to the following image.Įnter a name for your server. Now go to the Servers tab and click on Add a server. So add an organization first, then add a user to the newly created organization. To connect to Pritunl, you would need to create an organization and a user. Enter pritunl for both fields.Īfter that, proceed with the initial setup.Ĭhange your default password and ignore the SMTP fields unless you have purchased a Pritunl license, in which case you need to fill out those fields as well.Īfter completing this step, go to the Users tab. You will then be asked to login using the default username and password. One alternative would be to use Mongolab. If you don't want Pritunl to use the MongoDB server on your VPS, you can provide a different URI now. Once you do that, you will be greeted a screen similar to the following. Your browser will ask you to accept a self-signed certificate generated by Pritunl. You don't need to install any SSL certificates to access that site. Launch your web browser and visit Replace accordingly. Now that the server is up and running, we need to setup and configure it for usage. Install the packages and start the Pritunl server. apt-key adv -keyserver hkp:// -recv 7F0CEB10Īpt-key adv -keyserver hkp:// -recv CF8E292A Now add the public keys for the repositories. deb trusty mainĪgain press Ctrl+X, then Enter to save it. sudo nano /etc/apt//pritunl.listĪdd the following line in it. Now load the editor again for the Pritunl source. Press Ctrl+X, then Enter to save the file. sudo nano /etc/apt//mongodb-org-3.0.listĪdd the following line to that file. Run the following command to open an editor, for which we will be adding a MongoDB apt source. The method and commands can differ according to the firewall you are running. You should enter "udp" as your protocol and any port number of your choice above. Sudo iptables -A INPUT -p `your protocol` -m `your protocol` -sport `your port` -dport 1025:65355 -j ACCEPTĤ43 is the port that Pritunl server uses to load the web interface. Sudo iptables -A INPUT -p tcp -m tcp -sport 443 -dport 1025:65355 -j ACCEPT sudo iptables -A INPUT -p udp -m udp -sport 443 -dport 1025:65355 -j ACCEPT If you have setup a firewall on your server, make sure the port and protocol we would be using for Pritunl is exempted. sudo apt-get update & sudo apt-get upgrade Requirementsīefore we proceed, make sure that your server is updated. This guide will show you how to setup the software and get it running on your Vultr VPS. Pritunl is VPN server software that is built on the OpenVPN protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |