Once on the page, you shall need your Pritunl Setup Key. You should see a screen with pre-filled local mongoDB string. Open the web browser on your compter and navigate to, replacing 123.45.67.89 with your VM's IP address. Sudo apt-get -assume-yes install pritunl mongodb-org Sudo apt-get -assume-yes install apt-transport-https Install the required packages and start the pritunl server This step is done to ensure we get the correct repository. Sudo tee /etc/apt//pritunl.list << EOFĪdd the public keys for the repositories. Sudo tee /etc/apt//mongodb-org-4.2.list << EOF Install the Pritunl and MongoDB repositories. If you have Apache/Nginx running on tcp ports 80 or 443, make sure to stop them before you proceed. That just will not be covered in this tutorial to keep things short.Įnsure that ubuntu is up-to-date. Seach on google for their installation references. If you feel lost setting up a virtual machine with one of those providers, there are numerous guides available online. There are many options available for VM's like Google Cloud, Digital Ocean, Linode etc. Get a virtual machine running Ubuntu 18.04 to work along this tutorial. Below mentioned are 5 steps to achieve a personal VPN. Let's break things down into steps to make it easier. That out of the way, if you still think you are enough of a tech geek to host your VPN, follow this tutorial along. Do note that companies giving you access to IP address when you get a virtual machine, might send you claims if you do access pirated content or something that is banned by law. However, if you are thinking of having a completely different IP based on some specific region, then getting a virtual machine is the best way to set up a VPN. Now, this becomes really true when you host the server at your home itself. One of the good reasons to consider having your own VPN, rather than to go for online companies, is to have your data controlled on your own hands. A VPN changes or masks your current IP address with other address where the VPN server is hosted. You are looking at installing your own VPN? Don't look further! Pritunl comes with a bunch of features that will make you regret paying for private VPN.īefore installing Pritunl you will need a VPS.In this day and age, VPN or Virtual Private Networks are awesome tools to help you protect your privacy. You can create a small droplet on Digital Ocean. If you have not created an account you may use the referral link to receive a $100 credit when creating an account. After logging in click Create Droplet then follow the tutorial to install Pritunl on your VPS. Scaleway is a great alternative to Digital Ocean. If you manage to snatch a Stardust instance you'll be able to run your VPN for less than $2 a month. One of the advantages of Scaleway is that you don't pay for outgoing traffic. You are dependent on the outgoing network speed. If you want to increase the speed of the VPN you have to increase the size of the VPS. Let's get started, I assume that you have an Ubuntu/Debian instance running and that you are connected to it. Sudo sh -c 'echo "root hard nofile 64000" > /etc/security/nf' Sudo sh -c 'echo "* soft nofile 64000" > /etc/security/nf' You need to add the packages.ĭepending on your operating system, either follow the instruction for Debian Buster or the Ubuntu Focals one.ĭebian Buster sudo tee /etc/apt//pritunl.list > /etc/security/nf' Pritunl isn't available right out of the box. Sudo tee /etc//mongodb-org-4.2.repo /etc/security/nf'Īt this point, Pritunl VPN is installed and running. Go to the Users tab and click add organization button Then you will get a page like this Add Organization Now you can sign in using those credentials and you can change those later. Then it will popup a box-like Bellow screenshot. you can add any name like your company name or any name you preferred and click Add Button. Now go to the servers tab and click on add server button.įor the name you can give any name you want. The IMPORTANT thing is changing that port to the port that we added to our security group. You have to add that port here OR you can add any port here and you have to add that port to that VPN server security group. Don’t worry about the virtual network and no need to change that.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |