ProtonVPN on UT24.04-1.2
-
Was anyone successful in establishing a ProtonVPN connection on Noble?
I tried manual setup via GUI but it was not clear to me how the parameters in the openvpn file map to the fields in the VPN settings, went through documentation and forum posts with no clear solution.
Next, I tried the nmcli import method as described here: (https://forums.ubports.com/topic/10154/vpn-import-openvpn-and-wireguard-configurations-using-networkmanager-nmcli?_=1772844580125&loggedin=true)
The connection is listed, I entered username and password via settings GUI but when activating it, the connection timed out.
I would be very grateful if someone who has a working ProtonVPN setup could share how this was achieved.
Thanks
-
You can try Wireguard. It doesn't have GUI yet in UT but the commands are simple.
Download the Wireguard config file from your Proton account. Rename it to
wg0.conf.
Then runnmcli conn import type wireguard file wg0.confTo connect:
nmcli conn up wg0To disconnect:
nmcli conn down wg0 -
-
@projectmoon I believe that doesn't use the same wireguard that's in the system. I've never tried myself since the built in one works fine. I don't use it often

-
@projectmoon I believe that doesn't use the same wireguard that's in the system. I've never tried myself since the built in one works fine. I don't use it often

Doesn't use NetworkManager's WireGuard, no. But it does work. Tested it this morning with 2 ProtonVPN profiles.
-
You can try Wireguard. It doesn't have GUI yet in UT but the commands are simple.
Download the Wireguard config file from your Proton account. Rename it to
wg0.conf.
Then runnmcli conn import type wireguard file wg0.confTo connect:
nmcli conn up wg0To disconnect:
nmcli conn down wg0Thank you this worked. Interestingly the forum webapp does not conncect on wg. Is here another way to toggle wg connections on and off than using the terminal? They are not listed as VPN connections.
-
N nogoogle has marked this topic as solved
-
Hello, Thank you for the inspiration to help others.
Below are instructions for installing a single ProtoVPN Wireguard and multiple ProtonVPN Wireguard configurations along with method for mitigating autoconnect conflicts between them.
INSTRUCTIONS TO INSTALL PROTON VPN WIREGUARD ON UBUNTU TOUCH 24.04
DOWNLOAD WIREGUARD CONFIG FILES FROM PROTON VPN WEBSITE
- https://account.protonvpn.com/downloads
- Give simple name (i.e. wg0, wg5, wg9, etc) to config file
- Select platform: GNU/Linux
- Select VPN options: (Block malware, ads & trackers)
- Select: VPN Accelerator
- Select either "Standard" or "Secure Core" configs
- Scroll down to choose and select "Create"
- Download conf file and make copy with simple name (i.e wg0.conf)
WIREGUARD CONFIG INSTALL ON UBUNTU TOUCH 24.04
- Manually Toggle WiFi OFF
- Open Terminal where wg0.conf file is located
- Execute following terminal commands:
A. nmcli connection import type wireguard file wg0.conf
B. nmcli connection modify wg0 ipv4.dns "" ipv4.dns-search "" ipv4.dns-priority ""
C. nmcli connection modify wg0 ipv4.dns-priority -50
D. nmcli connection down wg0 && nmcli connection up wg0 - Manually Toggle WiFi ON
- Check IP Address: https://protonvpn.com/what-is-my-ip-address
MULTIPLE WIREGUARD CONFIG INSTALLS ON UBUNTU TOUCH 24.04
- Manually Toggle WiFi OFF
- Open Terminal where wg0.conf file is located
- Execute following terminal commands:
A1. nmcli connection import type wireguard file /path/to/wg0.conf
A2. nmcli connection down wg0
B1. nmcli connection import type wireguard file /path/to/wg1.conf
B2. nmcli connection down wg1
C1. ...
C2. nmcli connection down wg#
D1. nmcli connection import type wireguard file /path/to/wg9.conf
D2. nmcli connection down wg9 - To prevent conflicts with wg0 and all other wg# connections:
A. nmcli connection modify wg0 autoconnect yes
B. nmcli connection modify wg1 autoconnect no
C. nmcli connection modify wg2 autoconnect no
D. ... no
E. nmcli connection modify wg9 autoconnect no - nmcli connection down wg0 && nmcli connection up wg0
- Manually Toggle WiFi ON
TROUBLE-SHOOTING VIA TERMINAL
- To check wg0 connectino status:
A. nmcli device status - To delete wg0 and start over:
A. nmcli connection delete wg0 - To start wg0 connection
A. nmcli connection up wg0 - To stop wg0 connection
A. nmcli connection down wg0
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login