Page 1 of 1
Get a new IP from OpenVPN server?
Posted: Tue Nov 15, 2011 4:44 pm
by sdfsdfsdf
first of all: Its quite strange, that I have to register at openvpn.net just to be linked to forums.openvpn.net to register again....
Everytime I connect to the OVPN Server, I get the same IP. Is there a config-entry or something else to ask for a new one? or is this handling done by the server and can not be influenced by the client at all?
thank you
Re: Get a new IP from OpenVPN server?
Posted: Tue Nov 15, 2011 6:21 pm
by janjust
in general this handling is done by the OpenVPN server ; the client cannot (should not!) be able to really influence this, other than to present a different certificate.
Re: Get a new IP from OpenVPN server?
Posted: Tue Nov 15, 2011 7:45 pm
by sdfsdfsdf
but why is this the case? Who wants static IPs (beside from server usage)

- is it possible for the administrator to change that behaviour?
Re: Get a new IP from OpenVPN server?
Posted: Wed Nov 16, 2011 12:22 am
by janjust
the admin can change this behaviour using a 'client-connect' script; normally the server will try to assign the same IP address to the same client. The reason for this is that most connections will automatically be re-established, should the VPN drop out for a few seconds.
Re: Get a new IP from OpenVPN server?
Posted: Wed Nov 16, 2011 6:53 am
by sdfsdfsdf
a 'client-connect' script ? what would this look like?!
Re: Get a new IP from OpenVPN server?
Posted: Wed Nov 16, 2011 11:44 am
by janjust
read the manual page, or better yet, buy my book

Re: Get a new IP from OpenVPN server?
Posted: Sun May 13, 2012 10:16 pm
by dayknight
if i buy your book - will you answer more thoroughly

Re: Get a new IP from OpenVPN server?
Posted: Mon May 14, 2012 6:52 am
by janjust
sure, but I won't have to - it's all explained in chapter 6
