Hi there

I've got openvpn-2.3.4 under Win7 running. Works fine - except when
there's a network change... I have "verb 3" enabled and the log ends with

Thu Sep 04 15:42:09 2014 [dns.host.name] Inactivity timeout
(--ping-restart), restarting
Thu Sep 04 15:42:09 2014 C:\WINDOWS\system32\route.exe DELETE 12.3.1
MASK 255.255.255.255 192.168.22.1
Thu Sep 04 15:42:09 2014 Warning: route gateway is not reachable on any
active network adapters: 1.2.3.1
Thu Sep 04 15:42:09 2014 Route deletion via IPAPI failed [adaptive]
Thu Sep 04 15:42:09 2014 Route deletion fallback to route.exe
Thu Sep 04 15:42:09 2014 env_block: add
PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Thu Sep 04 15:42:09 2014 Closing TUN/TAP interface
Thu Sep 04 15:42:09 2014 ..\scripts\down.cmd openvpn 1500 1546 1.2.3.25
255.255.255.0 init
Thu Sep 04 15:42:09 2014 env_block: add
PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem


This machine changed from Ethernet to WiFi and got a new IP - which
meant that openvpn's tunnel would have hung and "ping-restart" should
have ensured it noticed and got a new tunnel up.

I see "ping-restart" triggered, but nothing happened afterwards - no
sign of it attempting to make a new connection. The routing errors are
expected, I'm hoping they are not the cause of the issue as we've got
some weird routing for a reason ;-)

I did a "net stop 'openvpn service'", but could see openvpn.exe was
still running. Couldn't do a "net start" because of it. If I manually
kill openvpn.exe, then I could "net start" and immediately the tunnel
comes up from scratch and everything is good again

It seems like openvpn.exe is "hanging" because it doesn't loop around
and retry making a connection - like it does on our Linux clients.

Very odd. The log shows no real error that I can see - it simply seems
to be sleeping without doing anything? BTW I download this logfile an
hour after the client tunnel disappeared after the IP change - the last
line in the logfile was an hour old - so there's no sign of openvpn
doing anything since.

Any ideas?

-- 
Cheers

Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to