VPN connection dropping on a specific server.
Posted: Fri Apr 15, 2011 9:50 am
Hi Guys,
I have installed OpenVPN 2.1.4 on many RedHat Linux, all seems to be working fine but some times the VPN connection goes down. This usually happens when I have to restart the OpenVPN server machine , some vpn clients just can connect and I have to manually run openvpn reopen or openvpn restart to re establish the connection.
Because of this issue I developed a script that automatically pings the VPN gateway and if the connection is down it will automatically re establish by running the above commands. Unfortunately in one of our servers the connection is going down very often, the script detects it and re-stablih the connection but after some seconds connectivity goes down again. This happens in a completely random time and not for a stable period, for example it can happen one day for 12 hours trying to re establish a connection or it can happen after a week for 1 hour..
Checking the logs at the server side the only thing I see suspicious is the message "Fri Apr 15 08:57:06 2011 us=169632 engine1/x.x.x.x:40698 MULTI: bad source address from client [10.11.0.10], packet dropped"
We have many servers running with the exact same OpenvVPN configuration and with the same hardware details but the problem seems to occur only on a specific one.
Any ideas on what can be wrong here? My manager want to switch to IPSec and I'm doing my best to keep OpenVPN as our permanent solution...
I have installed OpenVPN 2.1.4 on many RedHat Linux, all seems to be working fine but some times the VPN connection goes down. This usually happens when I have to restart the OpenVPN server machine , some vpn clients just can connect and I have to manually run openvpn reopen or openvpn restart to re establish the connection.
Because of this issue I developed a script that automatically pings the VPN gateway and if the connection is down it will automatically re establish by running the above commands. Unfortunately in one of our servers the connection is going down very often, the script detects it and re-stablih the connection but after some seconds connectivity goes down again. This happens in a completely random time and not for a stable period, for example it can happen one day for 12 hours trying to re establish a connection or it can happen after a week for 1 hour..
Checking the logs at the server side the only thing I see suspicious is the message "Fri Apr 15 08:57:06 2011 us=169632 engine1/x.x.x.x:40698 MULTI: bad source address from client [10.11.0.10], packet dropped"
We have many servers running with the exact same OpenvVPN configuration and with the same hardware details but the problem seems to occur only on a specific one.
Any ideas on what can be wrong here? My manager want to switch to IPSec and I'm doing my best to keep OpenVPN as our permanent solution...