chadsr / NordVPN-NetworkManager

A CLI tool for automating the importing, securing and usage of NordVPN (and in the future, more) OpenVPN servers through NetworkManager.
https://pypi.org/project/nordnm/
GNU General Public License v3.0
123 stars 28 forks source link

Connected to 2 NordVPN VPN servers simultaneously. #82

Open BobbyBabes opened 6 years ago

BobbyBabes commented 6 years ago

I forgot to disconnect from the nl server, before connecting to the sg server. Now I'm connected 2 both servers simultaneously. Traffic is still routed to the nl server. Shouldn't that be impossible on the same box? Because the configuration is for all traffic to go to one VPN server.

nordvpn-connected-to-2-vpn-servers_screenshot_20180403_193436

chadsr commented 6 years ago

Hi and thanks for all your feedback. I will be going through it gradually!

This is actually a 'feature' of network manager version 1.2 onwards so there isn't a lot I can do about it.

A small excerpt from that blog post:

The VPN support has been improved considerably too. Before NetworkManager 1.2 users could only run one instance of a particular VPN plugin that would service exactly one connection. This limitation is now gone.

BobbyBabes commented 6 years ago

That's my bad. Apologies for wasting your time.

But that's a pretty stupid improvement. If it doesn't check that the new connection is usable. It didn't matter which of the two VPN connections I disconnected. Both would disappear, taking with them all other VPN connections. Only the connection to the tangible NIC was left (visible) and disconnected. As soon as I connected to that one, the default nl VPN was also connected and took over, and the other VPN connections would appear again.

chadsr commented 6 years ago

I agree that it's implemented in a very unintuitive way.

I will keep this open for now, in-case it causes confusion for others and in-case there's a possibility for me to create a workaround to avoid the annoying behaviour in conjunction with nordnm.

BobbyBabes commented 6 years ago

Just for the record. I left NordVPN in favour of Perfect Privacy.

chadsr commented 6 years ago

I have began working on support for other VPN providers, so keep your eyes open on issue #57 if you're interested in using this tool for whatever provider you choose!

In that issue, it would also be useful to hear what providers users would be interested in having support for, so I know which to prioritise.