linux-cli-community
linux-cli-community copied to clipboard
Is it possible to specify a static IP address?
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?
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.