Make sure you’ve the below dependencies installed. In CLI use the “nmcli” command to connect to the Pritunl VPN. In order to connect to the VPN server, click on Import Profile. To do so, go to the “Users” section & click on the download icon. Once the client is installed, switch back to the server to download the user profile. Sudo apt-get install pritunl-client-electron On ubuntu 20.04, type the following command. Now, configure the Pritunl VPN client to connect it to the Pritunl Server. Step 5: Configure Pritunl Client On Ubuntu 20.04 Provide the required details and click “Add” and you’ll see that server has been added as seen below:ĭon’t forget to attach the server to organization by clicking on “Attach Organization”. Now, to create a VPN server click on “servers” & then “Add server”. In order to add many users at once, navigate to “Bulk Add user”. In the next step, click on “Add User” to add user. You’ll see the similar page when organization added. Now provide new password & save it then you’ll be redirected to the configuration page where you can configure organization,users & servers.Ĭlick on “Add Organization” button in order to add your organization. When you login by entering default credentials generate above, you’ll see the similar page. Run the given command to see the default credentials to login. Now, provide the setup key and MongoDB url on the first page. Provide the setup-key by typing the below command. Sudo systemctl enable pritunl mongodb Step 4: Configure Pritunl on Ubuntu 20.04įinally configure the Pritunl VPN by visiting your server IP. Once the installation is successfull, hit the below commands to start and enable mongodb services. sudo apt -assume-yes install pritunl mongodb-server Sudo apt update Step 3: Install Pritunl & MongoDB on Ubuntu 20.04įire the given command in your terminal to install pritunl & MongoDB on Ubuntu 20.04. Now, add the public keys of both by running curl -fsSL | sudo apt-key add. echo "deb focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb-org-4.4.list Simply, fire the below command in your terminal. echo "deb focal main" | sudo tee /etc/apt//pritunl.listĪs Pritunl VPN is basically built from MongoDB so, we’ll also add the MongoDB repository. Once the update is finished, add the Pritunl & MongoDB repositories and public keys in Ubuntu 20.04. Sudo restorecon -v /usr/lib/pritunl/bin/python3.Sudo apt update & sudo apt upgrade -y Step 2: Add Pritunl & MongoDB Repositories in Ubuntu 20.04 Sudo restorecon -v /usr/lib/pritunl/bin/python3 || true Sudo restorecon -v /usr/lib/pritunl/bin/python || true Sudo restorecon -v /usr/lib/pritunl/bin/pritunl || true Sudo restorecon -v /usr/lib/systemd/system/rvice || true Sudo restorecon -v /etc/systemd/system/rvice || true Sudo restorecon -v -R /run/pritunl* || true Sudo restorecon -v -R /tmp/pritunl* || true Sudo semodule -i /usr/share/selinux/packages/pritunl.pp /usr/share/selinux/packages/pritunl_dns.pp /usr/share/selinux/packages/pritunl_web.pp Sudo cp pritunl_web.pp /usr/share/selinux/packages/pritunl_web.pp Sudo cp pritunl_dns.pp /usr/share/selinux/packages/pritunl_dns.pp Sudo cp pritunl.pp /usr/share/selinux/packages/pritunl.pp Sudo ln -sf /usr/lib/pritunl/bin/pritunl /usr/bin/pritunl Sudo /usr/lib/pritunl/bin/python setup.py install Sudo /usr/lib/pritunl/bin/pip3 install -U -r requirements.txt usr/lib/pritunl/bin/python setup.py build Sudo cp -f ~/go/bin/pritunl-web /usr/bin/pritunl-web Sudo cp -f ~/go/bin/pritunl-dns /usr/bin/pritunl-dns Sudo yum -y install python3-pip python3-devel gcc git openvpn openssl net-tools iptables psmisc ca-certificates selinux-policy selinux-policy-devel python3-virtualenv wget tarĮcho "7154e88f5a8047aad4b80ebace58a059e36e7e2e4eb3b383127a28c711b4ff59 go1.16.4." | sha256sum -c. Sudo yum -y install oracle-epel-release-el8 # Set to master to run code from repository (only for testing) # Set current pritunl version X.XX.XXXX.XX Sudo tee /etc//mongodb-org-4.4.repo << EOF # Install MongoDB if running single host configuration
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |