I need to establish a SSH connection with my vpnserver. How to configure a openvpn server static IP for hosts that have dynamic public ips without using Dyndns or some tools like that. So that I can connect the vpn server by SSH with static vpnserver IP and even if the public IP changes the connection doesn't break.
Asked
Active
Viewed 696 times
0
-
1I, for one, fail to parse your question. You seem to state the server hosting your OpenVPN instance is about to have a dynamic public IP and then you ask how to configure that server to have a static IP, right? If yes, that's a clear contradiction—that is, you can't. Or have I really failed to grasp the essense of your question? – kostix Oct 26 '17 at 07:16
-
by hosts do you mean the ones behind the VPN (internal servers)? – Diego Velez Oct 27 '17 at 01:02
1 Answers
0
You cannot without establishing a statically-addressed host. Otherwise, you could script your dynamic to broadcast to you its new address, but your client's IP would not be truly static anymore.
![](../../users/profiles/442062.webp)
Jim
- 1
- 1