Unable to startup paid protonvpn

ProtonVPN works flawless on Manjaro. Just install the package using Pamac.

pamac build protonvpn

If you build the above package you have both gui and cli. You need to setup your credentials before you connect

protonvpn-cli login <pvpn_username>

killswitch issue

During my usage of VPN on Manjaro I have discovered an issue with the default resolver (openresolv).

When you get issues with network connection down after disconnecting your VPN you will find your resolv.conf has not been restored. This has been the case where the VPN provider is providing a killswitch.

The killswitch is in fact the inability to resolve the ip-address for a hostname and thus if your connection to your VPN provider is severed - you cannot continue browsing.

I believe this is not a VPN issue and not directly a Manjaro issue but more an issue of the resolver used on the system.

Manjaro defaults to the package openresolv and my solution has been to switch to systemd-resolved.

This is done - fairly easy

  1. enable the systemd resolver
    sudo systemctl enable --now systemd-resolved
    
  2. move your your existing resolv.conf to a backup file
    sudo mv /etc/resolv.conf /etc/resolv.conf.bak
    
  3. create a link
    sudo ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf