Page 1 of 1

Moving OpenVPN Server onto different IP

Posted: Tue Jun 07, 2011 12:37 pm
by maxmumford
Hi all,

I have successfully setup my OpenVPN server and connected clients remotely. However we have got a couple more external IP addresses and I want to move the OpenVPN server to another IP address. If I set the "local xx.xx.xx.xx" flag in the server .ovpn config file and restart the service, it seems to connect but the TAP adapter is left as "disconnected" and I cannot connect remotely. Can somebody tell me what I am doing wrong?

Thanks,
Max.

Re: Moving OpenVPN Server onto different IP

Posted: Tue Jun 07, 2011 3:04 pm
by janjust
if the server is moved the client config files need to be updated also - what does your setup look like? point-to-point? client/server? can you post config files?

Re: Moving OpenVPN Server onto different IP

Posted: Tue Jun 07, 2011 3:27 pm
by maxmumford
Bah, figured it out. I left out the word "local" before specifying the binding IP address on the server config and didn't see an error message because instead of running openvpn through cmd or the gui I restarted the service through task manager and ofc therefore got no feedback. It failed because it was "missing a parameter".

Lesson learned? Don't try and mess around with config files when your tired. :P

Thanks for your help.