How to connect a client to the open-source Pritunl VPN

Now that you have your Pritunl VPN server up and running, Jack Wallen shows you how to connect the client.

Image: iStock/Melpomenem

In a recent how-to (How to install the Pritunl VPN server on Ubuntu Server 20.04), I walked you through the process of installing the Pritunl VPN server on Ubuntu 20.04. This time around, we’re going to install the Pritunl client on Ubuntu Desktop 21.04 and connect it to the server. Of course, you can also install the client on macOS and Windows, and the connection process is the same on all platforms. But since Linux is my go-to operating system, I’ll be demonstrating the steps on that OS.

SEE: Security incident response policy (TechRepublic Premium)

What you’ll need

First off, you must have the Pritunl VPN server up and running, so make sure you go through the steps in the article listed above. You’ll also need a client machine (in this case Ubuntu Desktop 21.04), which can be running Linux, macOS, or Windows. For the Linux installation, you’ll also need a user with sudo privileges. Let’s get to work.

How to install the Pritunl client

We’ll be using the electron version of the Pritunl client. Open a terminal window and download the necessary GPG keys with the command:

sudo apt-key adv –keyserver hkp:// –recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A

Once the key is installed, add the repository with the command:

sudo nano /etc/apt/sources.list.d/pritunl.list

In that file, paste the following:

deb focal main

Although we’re working with 21.04, Pritunl doesn’t yet have a repository for the release. Fortunately, the client released for 20.04 works just fine. Save and close the file. 

Update apt with the command:

sudo apt-get update

Install the client with the command:

sudo apt-get install pritunl-client-electron -y

How to download your Pritunl fingerprint

Before you can connect the client, you must first download your Pritunl finger. To do that, log into the Pritunl server web interface, go to Users, and then click the download button for your user (Figure A).

Figure A


To download your user profile, click the downward-pointing arrow.

Once you’ve saved the profile to your desktop, extract it with the command:

tar xvf NAME.tar

Where NAME is the name of the profile. 

You should now see a new file ending with the .ovpn extension. Open the Pritunl client and click Import Profile (Figure B).

Figure B


The Pritunl client is a no-frills, user-friendly tool for connecting to the server.

Locate the .ovpn file and import it into the client. You should now see the name of the profile listed. On that profile, click the Hamburger menu and select Connect (Figure C).

Figure C


Connecting to the Pritunl server from the client.

You will be prompted for the PIN you created for your profile on the server. Enter the PIN and click OK. Once the connection is made, your profile will be listed as Online (Figure D).

Figure D


Our client has successfully connected to the server.

Congratulations, you are now connected to the Pritunl VPN server. When you’ve finished, click the Hamburger menu and select Disconnect. That’s all there is to it.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

How to connect a client to the open-source Pritunl VPN

Cybersecurity Insider Newsletter

Strengthen your organization’s IT security defenses by keeping abreast of the latest cybersecurity news, solutions, and best practices.
Delivered Tuesdays and Thursdays

Sign up today

Also see

Did you like this article? You can read it and many others @ Tech Republic!


Here's the latest news

For the first time in his 21-year NFL career, Tom Brady is going to get a chance to play against the Patriots. Because of the way the NFL's rotating schedule works, the teams from the NFC South will be playing...

NFL schedule 2021: When is Tom Brady returning to New England to face the Patriots?

While drivers scrambled for fuel, Colonial Pipeline said supplies would resume flowing from Texas to the East Coast in the coming days. Did you like this article? You can read it and many others @ NY Times!

Colonial Pipeline Begins Restart: Latest News on the Shutdown

Ready for the future? Combining science and technology with policy and regulation and a few other ingredients is the only way to reach true change according to one new book. Image: Getty/DKosig Technology is the single biggest force that leads...

These four forces are key to disrupting industry trends

Photography by Getty ImagesLike Dua Lipa's Vivienne Westwood mini and Amy Winehouse-inspired beehive. By Natalie Michie Date May 12, 2021 From jaw-dropping fashion like Harry Styles’ Brit Awards leisure suit to heartfelt speeches from artists like Taylor Swift, the 2021...

Harry Styles Brit Awards 2021 and More Memorable Red Carpet Looks

Katie Thurston is speaking out about her recent Instagram post. The new Bachelorette took to Instagram on May 11 to share a picture of her receiving a kiss from Casandra Suarez. Per screenshots captured by TV Shows Ace, the photo appeared...

Katie Thurston Apologizes to LGBTQ+ Community for Her "Offensive" Post
Load More
Share via
Copy link
Powered by Social Snap