Next, 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 Ubuntu 20.04 default repository so you will need to add the MongoDB repository to your system.įirst,download and add the MongoDB key with the following command: curl -fsSL | apt-key add. Pritunl built on MongoDB so you will need to install the MongoDB server in your system. Once you are finished, you can proceed 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 Once the installation is finished, start the Pritunl service and enable it to start at system reboot with the following command: systemctl start pritunl systemctl enable pritunl Once the repository is added, update the repository cache and install the Pritunl server with the following command: apt-get update -y apt-get install pritunl -y Next, add the Pritunl repository with the following command: echo "deb focal main" | tee /etc/apt//pritunl.list So you will 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 E162F504A20CDF15827F718D4B7C549A058F8B6B apt-key adv -keyserver hkp:// -recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A Install Pritunl Serverīy default, Pritunl is not available in the Ubuntu default repository. Once all the packages are installed, you can proceed to the next step. Once all the packages are updated, install other required dependencies 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 the server.īefore starting, it is recommended to update your system packages to the latest version. In this tutorial, we will explain how to set up a Pritunl VPN Server and Client on 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 an ability to create a wide range of cloud VPN networks. Pritunl is an open-source, simple and easy-to-use VPN server that allows you to setup virtualize your private networks across data centers within a minute.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |