<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pritunl vpn ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/pritunl-vpn-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 08 Dec 2020 16:03:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install and Configure Pritunl VPN Server On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-and-configure-pritunl-vpn-server-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-and-configure-pritunl-vpn-server-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 10 Dec 2020 05:44:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How To Install & Configure Pritunl VPN Server On Ubuntu 20.04]]></category>
		<category><![CDATA[how to install pritunl ubuntu]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[Pritunl vpn ubuntu 20.04]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=25925</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Pritunl VPN on Ubuntu 20.04. Pritunl VPN is an open source graphical interface tool that can be used easily. It provides an alternative way to the commercial VPN products. Pritunl VPN has the ability to give access to thousands of users at a time using [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-pritunl-vpn-server-on-ubuntu-20-04/">How To Install and Configure Pritunl VPN Server On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that how to install Pritunl VPN on Ubuntu 20.04. Pritunl VPN is an open source graphical interface tool that can be used easily. It provides an alternative way to the commercial VPN products. Pritunl VPN has the ability to give access to thousands of users at a time using cloud vpn network. So, let&#8217;s move towards the intallation process.</p>



<p>Look at some salient features of Pritunl <a href="https://www.osradar.com/setting-up-openvpn-server-on-ubuntu-20-04-lts/" target="_blank" rel="noreferrer noopener">VPN</a></p>



<h2>Salient features of Pritunl VPN</h2>



<ul><li>Easy to install &amp; configure</li><li>Support Multi Cloud VPN peering</li><li>Provides upto 5 layers of authentication</li><li>Very quick &amp; easy scaling</li><li>Acess to thousands users at a time</li><li>Based on MongoDB</li></ul>



<p>Now, move towards the installation process.</p>



<h3>Step 1: Update Your System</h3>



<p>First of all, update your system to have the latest packages installed.</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt upgrade -y</pre>



<h3>Step 2: Add Pritunl &amp; MongoDB Repositories in Ubuntu 20.04</h3>



<p>Once the update is finished, add the Pritunl &amp; MongoDB repositories and public keys in Ubuntu 20.04. To do so run the below command.</p>



<pre class="wp-block-preformatted">echo "deb http://repo.pritunl.com/stable/apt focal main" | sudo tee /etc/apt/sources.list.d/pritunl.list</pre>



<p>As Pritunl VPN is basically built from MongoDB so, we&#8217;ll also add the MongoDB repository. Simply, fire the below command in your terminal.</p>



<pre class="wp-block-preformatted">echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list</pre>



<p>Now, add the public keys of both by running</p>



<pre class="wp-block-preformatted">curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -<br>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 9DA31620334BD75D9DCB49F368818C72E52529D4<br>sudo apt update</pre>



<h3>Step 3: Install Pritunl &amp; MongoDB on Ubuntu 20.04</h3>



<p>Fire the given command in your terminal to install pritunl &amp; MongoDB on Ubuntu 20.04.</p>



<pre class="wp-block-preformatted">sudo apt --assume-yes install pritunl mongodb-server</pre>



<p>Once the installation is successfull, hit the below commands to start and enable mongodb services.</p>



<pre class="wp-block-preformatted">sudo systemctl start pritunl mongodb<br>sudo systemctl enable pritunl mongodb</pre>



<h3>Step 4: Configure Pritunl on Ubuntu 20.04</h3>



<p>Finally configure the Pritunl VPN by visiting your server IP. You&#8217;ll see the similar page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="492" height="551" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h46_27.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26139" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_27.png 492w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_27-268x300.png 268w" sizes="(max-width: 492px) 100vw, 492px" /></figure>



<p>Provide the setup-key by typing the below command.</p>



<pre class="wp-block-preformatted">sudo pritunl setup-key
c76683c87efe4774887a9a223a2f1fd6</pre>



<p>Now, provide the setup key and MongoDB url on the first page. Run the given command to see the default credentials to login.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="660" height="501" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h46_34.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26140" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_34.png 660w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_34-300x228.png 300w" sizes="(max-width: 660px) 100vw, 660px" /></figure>



<pre class="wp-block-preformatted">root@sabi:~$ <strong>sudo pritunl default-password</strong>
[undefined][2020-11-30 8:01:55,033][INFO] Getting default administrator password
Administrator default password:
username: "pritunl"
password: "xGupSTJtdiJ8"</pre>



<p>When you login by entering default credentials generate above, you&#8217;ll see the similar page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="900" height="376" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h46_40.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26141" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_40.png 900w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_40-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_40-768x321.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_40-696x291.png 696w" sizes="(max-width: 900px) 100vw, 900px" /></figure>



<p>Now provide new password &amp; save it then you&#8217;ll be redirected to the configuration page where you can configure organization,users &amp; servers.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="986" height="267" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h46_49.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26142" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_49.png 986w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_49-300x81.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_49-768x208.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_49-696x188.png 696w" sizes="(max-width: 986px) 100vw, 986px" /></figure>



<p>Click on <strong>&#8220;Add Organization&#8221;</strong> button in order to add your organization. Provide the name and click <strong>&#8220;Add&#8221;</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="968" height="248" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h46_55.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26143" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_55.png 968w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_55-300x77.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_55-768x197.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h46_55-696x178.png 696w" sizes="(max-width: 968px) 100vw, 968px" /></figure>



<p>You&#8217;ll see the similar page when organization added.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="988" height="245" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_00.png" alt="" class="wp-image-26144" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_00.png 988w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_00-300x74.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_00-768x190.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_00-696x173.png 696w" sizes="(max-width: 988px) 100vw, 988px" /></figure>



<p>In the next step, click on <strong>&#8220;Add User&#8221;</strong> to add user. Fill up required details to add user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="952" height="420" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_05.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26145" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_05.png 952w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_05-300x132.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_05-768x339.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_05-696x307.png 696w" sizes="(max-width: 952px) 100vw, 952px" /></figure>



<p>In order to add many users at once, navigate to <strong>&#8220;Bulk Add user&#8221;.</strong></p>



<p>Now, to create a VPN server click on <strong>&#8220;servers&#8221;</strong> &amp; then <strong>&#8220;Add server&#8221;.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="942" height="326" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_10.png" alt="" class="wp-image-26146" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_10.png 942w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_10-300x104.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_10-768x266.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_10-696x241.png 696w" sizes="(max-width: 942px) 100vw, 942px" /></figure>



<p>Provide the required details and click <strong>&#8220;Add&#8221;</strong> and you&#8217;ll see that server has been added as seen below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="972" height="542" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_22.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26147" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_22.png 972w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_22-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_22-768x428.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_22-696x388.png 696w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<p>Don&#8217;t forget to attach the server to organization by clicking on <strong>&#8220;Attach Organization&#8221;</strong>.</p>



<h3>Step 5: Configure Pritunl Client On Ubuntu 20.04</h3>



<p>Now, configure the Pritunl VPN client to connect it to the Pritunl Server. On ubuntu 20.04, type the following command.</p>



<pre class="wp-block-preformatted">sudo tee /etc/apt/sources.list.d/pritunl.list &lt;&lt; EOF
deb https://repo.pritunl.com/stable/apt focal main
EOF

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A

sudo apt-get update

sudo apt-get install pritunl-client-electron</pre>



<p>Once the client is installed, switch back to the server to download the user profile. To do so, go to the <strong>&#8220;Users&#8221;</strong> section &amp; click on the download icon. It&#8217;ll be like this.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="582" height="52" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_30.png" alt="" class="wp-image-26148" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_30.png 582w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_30-300x27.png 300w" sizes="(max-width: 582px) 100vw, 582px" /></figure>



<p>In order to connect to the VPN server, click on Import Profile.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="604" height="788" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/2020-11-30_09h47_38.png" alt="How To Install &amp; Configure Pritunl VPN Server On Ubuntu 20.04" class="wp-image-26149" srcset="https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_38.png 604w, https://www.osradar.com/wp-content/uploads/2020/11/2020-11-30_09h47_38-230x300.png 230w" sizes="(max-width: 604px) 100vw, 604px" /></figure>



<p>In CLI use the <strong>&#8220;nmcli&#8221; </strong>command to connect to the Pritunl VPN. Make sure you&#8217;ve the below dependencies installed.</p>



<pre class="wp-block-preformatted">sudo apt-get install network-manager network-manager-openvpn
# with Gnome Desktop environment, use:
sudo apt-get install network-manager-gnome network-manager-openvpn-gnome</pre>



<p>And run,</p>



<pre class="wp-block-preformatted">sudo nmcli connection import type openvpn file Lorna_lorna_Pritunl-VPN.ovpn</pre>



<p>To start using the profile, run the below command.</p>



<pre class="wp-block-preformatted">nmcli connection up Lorna_lorna_Pritunl-VPN.ovpn</pre>



<p>So, this is how you can install Pritunl VPN on Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-pritunl-vpn-server-on-ubuntu-20-04/">How To Install and Configure Pritunl VPN Server On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-and-configure-pritunl-vpn-server-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
