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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay