![]() Jan 09 11:51:04 ubuntu2004 pritunl: from cryptography import x509 Jan 09 11:51:04 ubuntu2004 pritunl: /usr/lib/pritunl/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: > Jan 09 11:51:03 ubuntu2004 systemd: Started Pritunl Daemon. You should get the following output: LIS*:443 *:* users:(("pritunl-web",pid=11523,fd=4)) You can also verify the Pritunl listening port with the following command: ss -antpl | grep pritunl When you are done, you can move on to the next step. Pritunl is based on MongoDB so you need to install the MongoDB server in your system. For additional help or useful information, we recommend you check the official Pritunl website.Once the repository has been added, update the repository and install the MongoDB server with the following command: apt-get update -y Then add the MongoDB repository with the following command: echo "deb focal/mongodb-org/4.4 multiverse" | tee /etc/apt//mongodb-org-4.4.list By default, MongoDB is not available in the standard Ubuntu 20.04 repository, so you will need to add the MongoDB repository to your system.ĭownload first and add the MongoDB key with the following command: curl -fsSL | apt-key add. Thanks for using this tutorial for installing the Pritunl VPN Server on your Ubuntu 20.04 LTS Focal Fossa system. Now login with the default username and password, and set up your environment from Pritunl dashboard.Ĭongratulations! You have successfully installed Pritunl VPN. To do that, run the following command: sudo pritunl default-password Next, you will need to generate a default username and password to sign in. ![]() After paste, the setup key, click on the Save button. Next, generate a setup key using the command below: sudo pritunl setup-keyĪfter that, copy the setup key and paste it to the Pritunl database setup wizard. Now, open your web browser and access the Pritunl web Interface using the URL You should see the following screen: Update apt and install MongoDB using the following command: sudo apt update Once the installation completes, you can set up the start, stop and enable the Pritunl VPN server to automatically start up when the server boots: sudo systemctl stop pritunlīy default, MongoDB is not available in the Ubuntu 20.04 default repository so you will need to add the MongoDB repository to your system: curl -fsSL | sudo apt-key add -Įcho "deb focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.list Once the repository is added, update the repository cache and install the Pritunl server with the following command: Next, add its repository file using the following command: echo "deb focal main" | sudo tee /etc/apt//pritunl.list Now we add the Pritunl repository key and file to the Ubuntu system: sudo apt-key adv -keyserver hkp:// -recv E162F504A20CDF15827F718D4B7C549A058F8B6B Installing Pritunl VPN Server on Ubuntu 20.04. First, make sure that all your system packages are up-to-date by running the following apt commands in the terminal. Install Pritunl VPN Server on Ubuntu 20.04 LTS Focal Fossa We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. ![]()
0 Comments
Leave a Reply. |