ProtonVPN from Command Line

I use Linux for my primary OS and have ProtonVPN unlimited plan. I’d much prefer to connect/disconnect from terminal instead of Graphics UI but cannot find a way to do so.

Has anyone done this before or is this even supported by Proton VPN?

Yes, proton uses Wireguard/Openvpn so you can use any VPN client you like. I use Gluetun on my server to tunnel some of my docker containers traffic

It’s very easy, you just use “protonvpn-cli --help”.

For example “sudo protonvpn-cli c --p2p” will connect to the fastest P2P supported server.

To disconnect you do “sudo protonvpn-cli d”.

You could also download the wireguard (or openvpn configs) from your proton dashboard and use “sudo wg-quick up /path/to/your/config”.

You can also put your wireguard configs in to “/etc/wireguard/” then you won’t have to specify the complete path.

they had a way, protoncli-vpn. worked better then their GUI app

but they removed the instructions from the website … meaning they will not support it anymore

using OpenVPN or Wireguard: it must much less convenient, you cant browse the servers, cant enable Netshield, cant choose -p2p, -f , fetc …