How to configure and use Proton VPN on NixOS?

Hi All;

I’m new NixOS user, my installation uses Gnome as DE. I installed the protonvpn-gui and wireguard-tools packages in my system and tried to connect using the Proton VPN GUI client without success, my second try was to configure wireguard via gnome settings as I’ve done in the past in my Fedora system, again without success.

Does anyone knows how to make Proton VPN work on NixOS?

Thanks.

1 Like

This gets proton working for me

networking.firewall.checkReversePath = false;
environment.systemPackages = with pkgs; [wireguard-tools protonvpn-gui];

1 Like

I personally did not need to anyting other than install protonvpn-gui. From the sounds of it you can run the Proton VPN GUI, but it won’t connect?

Have you checked the logs with journalctl | grep protonvpn?

You can also try running journalctl -f before trying to connect with protonvpn. It will spit out the live logs which should include error messages from protonvpn (and everything else, but it often helps you see where things go wrong).

It worked, thanks. I was missing the networking.firewall.checkReversePath = false;

1 Like

It is working now after I included networking.firewall.checkReversePath = false; in the configuration.