Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to specify a static IP address? #360

Open
PacoH opened this issue Nov 16, 2023 · 1 comment
Open

Is it possible to specify a static IP address? #360

PacoH opened this issue Nov 16, 2023 · 1 comment

Comments

@PacoH
Copy link

PacoH commented Nov 16, 2023

I've been using this client for a week, so I can quickly disconnect and reconnect the VPN from a shell script. I am using the protonvpn (c | connect) [<servername>] option. This gets me the server I want but I get differing IP adresses each time. I want to be able to specify the IP address statically because a service I am using requires the same IP address every time, not just the same server. Is there any way I can do this?

@PacoH
Copy link
Author

PacoH commented Nov 17, 2023

Come to think of it, you have to install openvpn before installing protonvpn-cli. openvpn can be configured to implement split tunneling. I don't know enough about it to implement that feature in openvpn nor do I see how protonvpn-cli interacts with openvpn. I'm guessing there is a way to do it if you know the code. This would be preferable to disconnecting/reconnecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant