Moving OpenVPN Server onto different IP

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
maxmumford
OpenVPN User
Posts: 25
Joined: Tue Apr 05, 2011 3:18 pm

Moving OpenVPN Server onto different IP

Post by maxmumford » Tue Jun 07, 2011 12:37 pm

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.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Moving OpenVPN Server onto different IP

Post by janjust » Tue Jun 07, 2011 3:04 pm

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?

maxmumford
OpenVPN User
Posts: 25
Joined: Tue Apr 05, 2011 3:18 pm

Re: Moving OpenVPN Server onto different IP

Post by maxmumford » Tue Jun 07, 2011 3:27 pm

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.

Post Reply