Page 1 of 1

OpenVPN server drops off the local network

Posted: Sat Apr 07, 2012 4:21 am
by void269
The other day I built an OpenVPN 1.6.1 box using the Virtual Appliance they provide. After a bit of configuring I rebooted the server and noticed I could not log on to the Admin page. I did some digging and found I could not PING that server either. I walked away from it for a day or so and decided I must have done something to cause it. So I decided to start fresh. I blew it away and built a new box but this time I upgraded it to the latest version (1.8.something). All was going smoothly, I made only a couple changes in the admin page and rebooted the server, but then it happened again... After the reboot I found I could not connect to the web page and sure enough, I could not PING the server either. I did another reboot, but this time I set a flood PING to see what it did. I found that it did start to PING as it was starting up, but once it got fully up the PING's stopped... :x

What could be causing this? I don't think it was any settings I made as there was only a couple. Is there some sort of firewall on the box that is killing me maybe?

Re: OpenVPN server drops off the local network

Posted: Thu Apr 12, 2012 10:19 pm
by void269
bump...

Re: OpenVPN server drops off the local network

Posted: Sun Apr 15, 2012 8:33 pm
by Mimiko
You didn't write about configuration and changes you made. Are you using routing or bridging mode? If the box repond for a time then stops, log in to console and see the logs and start-up scripts.

Re: OpenVPN server drops off the local network

Posted: Tue Apr 17, 2012 3:14 am
by void269
OK....through a series of VM snapshots and roll backs I was able to narrow down to which thing is causing the connectivity lose. It happens when I changed the "Dynamic IP Address Network" setting. I must be reading the verbiage wrong as i am taking it that I need to set it to the network IP/subnet of my internal network (where my DHCP server is located and broadcasting). But once I do that and update the server....poof...off the network it goes. I'm assuming I am miss-configuring it so what do I need to put there? Should I just leave it to the default of 5.5.0.0/20?

Mimiko, to answer your question, it is at the default of Routing.

Re: OpenVPN server drops off the local network

Posted: Wed Apr 18, 2012 4:05 pm
by ddog800
Where/how are you currently changing the IP address of the appliance?

Re: OpenVPN server drops off the local network

Posted: Thu Apr 19, 2012 11:39 pm
by void269
This can be done by following instructions on setting a static IP in CentOS (the base OS that the vApp is built on). However, this is not what I am trying to do if that is what you are asking...

http://lmgtfy.com/?q=how+to+configure+static+ip+address+in+centos

:D