Pritunl is based on MongoDB so you need to install the MongoDB server in your system. When you are done, you can move on to the next step. 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 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. ?11487 /usr/lib/pritunl/bin/python /usr/lib/pritunl/bin/pritunl start Loaded: loaded (/etc/systemd/system/rvice disabled vendor preset: enabled)Īctive: active (running) since Sat 11:51:03 UTC 4s ago You should get the following output: ? rvice - Pritunl Daemon You can now verify the status of the Pritunl service with the following command: systemctl status pritunl When the installation is complete, start the Pritunl service and allow it to restart at system startup with the following command: systemctl start pritunl Once the repository has been added, update the repository cache and install the Pritunl server with the following command: apt-get update -y Then add the Pritunl archive with the following command: echo "deb focal main" | tee /etc/apt//pritunl.list
So you need to add GPG key and repository to your system.įirst add the GPG key with the following command: apt-key adv -keyserver hkp:// -recv E1Īpt-key adv -keyserver hkp:// -recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A Pritunl is not available in the standard Ubuntu repository by default.
Once all the packages have been installed, you can proceed to the next step. Once all packages have been updated, install the other dependencies required by running the following command: apt-get install curl gnupg2 wget unzip -y You can update all packages by running the following command: apt-get update -y A root password is configured on the server.īefore you begin, it is recommended that you update your system packages to the latest version.A system running the Ubuntu 20.04 server.
In this guide we will explain how to set up a Pritunl VPN server and client on the Ubuntu 20.04 server. It provides an official client package and supports all OpenVPN clients for most devices and platforms. It provides a simple and user-friendly web interface and has the capability to create a wide range of cloud VPN networks. Pritunl is an open source, simple and easy to use VPN server that lets you set up virtualization of your private networks over data centers within a minute.