ProtonVPN / linux-cli

Official ProtonVPN Linux app (CLI)
https://protonvpn.com/download-linux
GNU General Public License v3.0
332 stars 42 forks source link

Internet kill switch seems to be implicitly enabled [Mint] #66

Open bugleugner opened 2 years ago

bugleugner commented 2 years ago

I have

protonvpn-cli -v

ProtonVPN CLI v3.11.1 (protonvpn-nm-lib v3.8.0; proton-client v0.7.1)

on Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal installed and the Issue described in here seems to appear.

The work around is

nmcli connection show

and deleting the following connection if they show up

nmcli connection delete pvpn-killswitch
nmcli connection delete pvpn-ipv6leak-protection
nmcli connection delete pvpn-routed-killswitch
STPKITT commented 1 year ago

I can confirm that the issue can still occure on (X)ubuntu 22.04.1.

RomainMorlevat commented 1 year ago

Archlinux 6.1.12-arch1-1 with Proton VPN CLI v3.13.0 (protonvpn-nm-lib v3.14.0; proton-client v0.7.1). I've just had the issue. Some days ago I've updated of networkmanager from 1.40.12-1 to 1.42.0-1. I had to systemctl reload NetworkManager because wifi wasn't showing in networkmanager (I don't remember if I was connected to ProtonVPN). Yesterday, without being connected to ProtonVPN, I've updated again Arch, all went well, internet was working, then the laptop went to sleep, and when I've started it again, tried to connect to ProtonVPN right away and there were an error (don't remember which). Then I realized that I had no more internet connection, wifi wasn't showing in tray but networkmanager was saying that I was connected. I've tried downgrading, etc. until the point I saw this lines when doing nmcli device:

ipv6leakintrf0   dummy     connected               pvpn-ipv6leak-protection 
pvpnksintrf0     dummy     connected               pvpn-killswitch

Tried to kill them and internet showed up. Restarted the computer, same problem.

calexandru2018 commented 1 year ago

Hey all,

Given that we currently don't support IPv6 server side we need to block IPv6 traffic, thus we block it.

One thing to note is that we have a systemd service (in user space) that listens to shutdown requests and attempts to remove before the machine shutdown. We noted though at times that the inhibitor is overridden, thus when you boot back the machine you're without internet.

You can either run the protonVPN -cli ks --off command to disable (even though you've never enabled it, the IPv6 block will get removed) or run nmcli c del <conn_name> to remove the IPv6 leak protection.

STPKITT commented 1 year ago

That first command doesn't work, it's protonvpn-cli ks --off instead!