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

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

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay