DEV Community

Cover image for Pritunl client cli
vuongbui
vuongbui

Posted on

Pritunl client cli

Pritunl client stops working in Ubuntu 20.04. Now it supports Ubuntu 24.04 and 24.10 only.
So I have to install pritunl client cli to connect to Pritunl VPN server.

In the Pritunl server, open the Temporary url to view profile link,set up Two-step authentication key, it will be used as the password

Install: apt install pritunl-client

After downloading the Profile and save in the machine, we need to add the profile with the command:
$ pritunl-client add path_to_your_profile

Another instruction:
$ printunl-client add profile_url (not work for me)

Check the profile id
Then run $ pritunl-client list to see the Profile Id

Start the VPN connection
$ pritunl-client start your_profile_id

It will fail to connect unless a password is provided. Use the code in the authentication app.
Update the above command password option
$ pritunl-client start your_profile_id --password=your_authentication_code

Billboard image

The fastest way to detect downtimes

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitoring.

Get started now

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay