linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

[Enhancement] Connect to a random server with other options

Open larobitrumpet opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Currently, if you use features such as Secure Core, it connects to the fastest Secure Core server. I would like the option to instead connect to a random Secure Core server. In the ProtonVPN Android application it is possible to connect to a random Secure Core server, but not in the linux-cli. This feature would also extend the random option to other features such as Tor, P2P, and country codes.

Describe the solution you'd like A clear and concise description of what you want to happen. The ability to add the --random flag to other options. For example protonvpn c --sc --random will connect to a random Secure Core server, protonvpn c --tor --random would connect to a random Tor server, and protonvpn c --cc US --random will connect to a random server in the US. I have created a branch random that has the proposed changes, I just need to make a pull request, but the contributing guide said I should create an issue first.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. The way I created the changes could be slightly different, but I think this is a straightforward change that achieves what I want with minimal changes. The way I rewrote the usage in cli.py could probably be a bit better.

Additional context Add any other context or screenshots about the feature request here.

larobitrumpet avatar Jan 09 '21 06:01 larobitrumpet

Hello @larobitrumpet

This is actually a great idea. Unfortunately this will not happen in the community built version, as no more commits will be done on this repo.

On the other hand, we greatly appreciate the suggestion, as well take this into consideration for the official CLI.

calexandru2018 avatar Jan 09 '21 10:01 calexandru2018

I wanted to suggest something similar with --fastest, so I can request the --fastest in a country. (Or maybe that already happens? But I get an error using the two flags together.)

as no more commits will be done on this repo.

Am I in the wrong place - where is the repo for the latest linux protonvpn-cli?

DarrenCook avatar Apr 29 '21 08:04 DarrenCook

Hey @DarrenCook

The repo for the official client will be publicly shared in the following weeks. This repo is specific to the community client.

Edit: if you want to connect to fastest for a specific country then you could just type protonvpn-cli c --cc country_code, this will connect to the fastest server in the specified country.

calexandru2018 avatar Apr 29 '21 08:04 calexandru2018

@calexandru2018 Thanks for the quick reply. In the meantime should we post bugs here, or email protonvpn directly?

DarrenCook avatar Apr 29 '21 08:04 DarrenCook

Hey @DarrenCook thank you for your comprehension. In the meantime please contact support by either emailing them at [email protected] or fill in the form https://protonvpn.com/support-form (recommend)

calexandru2018 avatar Apr 29 '21 08:04 calexandru2018