How to configure competent vpn?

EducatedIdiot

New Member
Joined
May 25, 2025
Messages
1
Reaction score
0
Credits
44
Hello all, been distro hopping and currently in the process of pulling my hair out for something that is most likely very easy, yet eludes me on every distro and DE I have tried, configuring competent vpn's, so if anyone can spare a few minutes to spot something that I can't it would be very much appreciated.

I am currently on pop os, "jammy" 22.04

As far as i'm aware there are only 2 vpns left that actually provide what you pay for - privacy and security, mullvad and proton, both their clients for linux are crap, no split tunneling, no "stealth" to avoid constant captchas, kill switch is temperamental at best, so I am trying to configure a vpn connection without relying on the very lacking clients. I have downloaded protonvpn ovpn and wireguard configs but nevermind figuring out how to make split tunneling possible, I can't even get an internet connection.

If i try to use cli and sudo openvpn --config /examplepath/config.ovpn. I get "initialization sequence complete" but my internet is dead, 0 traffic coming or going
I have tried to add a vpn through pop os network settings, copy pasted gateway, username,password directly from protons generated config and my account section respectively, created a CA.crt again using the generated config files, but the second I try to connect I get "connection failed: activation of network connection failed"

In the log I can see this. few things to note
1: the repeated usb errors are another ongoing linux specific headache, all of my usb ports are working and I have already done a cycle of unplugging one at a time to see if I can narrow down to where it is claiming the problem lies, evidently to no success
2: regarding cannot load certificate file. I have created the .crt multiple times over, tried copy/pasting directly from proton generated configs, tried manually typing just to rule it out, the contents are correct
<ca>
-----BEGIN CERTIFICATE-----
verylongstringgoeshere
-----END CERTIFICATE-----
</ca>
May 25 21:15:04 pop-os kernel: [ 8111.363132] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
May 25 21:15:07 pop-os NetworkManager[1579363]: <info> [1748204107.5203] vpn[0x5a5ccddb2660,8e686c5e-c695-43d9-9b57-326915c9424d,"RO Proton"]: starting openvpn
May 25 21:15:07 pop-os NetworkManager[1579363]: <info> [1748204107.5205] audit: op="connection-activate" uuid="8e686c5e-c695-43d9-9b57-326915c9424d" name="RO Proton" pid=5746 uid=1000 result="success"
May 25 21:15:07 pop-os nm-openvpn[1580712]: --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
May 25 21:15:07 pop-os nm-openvpn[1580712]: OpenVPN 2.5.11 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 17 2024
May 25 21:15:07 pop-os nm-openvpn[1580712]: library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
May 25 21:15:07 pop-os nm-openvpn[1580712]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
May 25 21:15:07 pop-os nm-openvpn[1580712]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
May 25 21:15:07 pop-os nm-openvpn[1580712]: OpenSSL: error:04800064:PEM routines::bad base64 decode
May 25 21:15:07 pop-os nm-openvpn[1580712]: Cannot load CA certificate file /home/j/Documents/CA.crt (no entries were read)
May 25 21:15:07 pop-os nm-openvpn[1580712]: Exiting due to fatal error
May 25 21:15:07 pop-os NetworkManager[1579363]: <warn> [1748204107.7557] vpn[0x5a5ccddb2660,8e686c5e-c695-43d9-9b57-326915c9424d,"RO Proton"]: dbus: failure: connect-failed (1)
May 25 21:15:07 pop-os NetworkManager[1579363]: <warn> [1748204107.7558] vpn[0x5a5ccddb2660,8e686c5e-c695-43d9-9b57-326915c9424d,"RO Proton"]: dbus: failure: connect-failed (1)
May 25 21:15:08 pop-os kernel: [ 8115.420179] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
 


Follow Linux.org

Staff online

Members online


Top