Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Option to install with NetworkManager support on Ubuntu #86

Open
markfaine opened this issue Apr 13, 2018 · 3 comments
Open

Option to install with NetworkManager support on Ubuntu #86

markfaine opened this issue Apr 13, 2018 · 3 comments
Labels
Feature Request Feature Request - Roadmap

Comments

@markfaine
Copy link

For example, -init could create NetworkManager vpn configuration files for each of the available servers (/etc/NetworkManager/system-connections) as well as a systemd configuration and start/stop script. That should allow for the normal Ubuntu Network Manager to show when the VPN is connected, and also show which server is connected in the system tray. It would also allow the user to see when they are are connected at a glance. They could then optionally connect to different servers through the Network Manager interface.

@mazen160
Copy link
Collaborator

Hi @markfaine
Thanks for your feature request!

Here is what I have in mind based on your plan
$ pvpn --import-config
It downloads and installs configs for NetworkManager, whenever you click on the network manager, you can just rely on it if you prefer it. It would be separate from protonvpn-cli connections; just importing and confugring everything based on your plan.

Also an option to clear all config.

What do you think?

I'm brainstorimng ideas for the feature:)

Thanks,
Mazin

@mazen160 mazen160 added the Feature Request Feature Request - Roadmap label Apr 14, 2018
@markfaine
Copy link
Author

markfaine commented Apr 14, 2018 via email

@mazen160
Copy link
Collaborator

Hi Mark,

However, lately I'm finding that there are some issues with the current implementation of network manager that might need a fix. It seems that it doesn't properly update the resolv.conf on up/down and so there are DNS leaks. I'm thinking about submitting a bug to Ubuntu. Also, I don't know if network manager can prevent any network activity in the event of a dropped connection.

It would be better to report it to Ubuntu. The problem that many Linux distros act really weird sometimes. I have seen that during compatibility testing of different distros. The goal of protonvpn-cli initially is to:

  • Enable quick access to protonvpn in Linux.
  • Secure setup (DNS leaks and IPv6 address leaks protections)
  • Features of the the larger protonvpn applications in CLI. (such as choosing the fastest server, etc...)

Do you have a server that basically just redirects to the fastest server? I was thinking I'd probably import multiple servers but for day to day use I'd be looking for the fastest server, however, fastest may change from day to day. This could be solved if there was a server that just did a redirect to the fastest server for the user.

That's a cool idea, we currently don't have this part, but we provide an API that is used to determine fastest server. But a server that redirects connections is not there. I don't know if it can be implemented correctly, I have forwarded this note to the team.

I'm not seeing very good speeds though even on the fastest server. Connecting to the fastest server I get 10Mbps over WIFI on a 1Gbps network that delivers around 600Mbps (actual) on a wired connection. Disconnected from VPN over WIFI I get ~90Mbps. Any tips? I don't expect anywhere near the same speeds as when I'm disconnected from VPN but it should be better than 10Mbps, shouldn't it?

I'm not sure about this part, I have also forwarded it to the team. You're correct about this, the responsible team will be checking it.

Regarding the feature request, I now have the required ideas, it's added to the roadmap. Thanks for the addition!

Thanks!!

Best,
Mazin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request Feature Request - Roadmap
Projects
None yet
Development

No branches or pull requests

2 participants