Hi,

On Wed, Nov 23, 2016 at 08:54:36PM +0100, Moritz Schmidt wrote:
> I'm trying to make my OpenVPN 2.4_beta2 client automatically reconnect 
> when I reconnect to another network.
> 
> I tried --keepalive, --ping, --ping-exit, ... with hundreds of different 
> parameters but it never worked.
> 
> So I set verb to 4 and got this when disconnecting wifi:
> 
>    Wed Nov 23 20:47:40 2016 us=24259 Recursive routing detected, drop 
> tun packet to [AF_INET]94.xxx...

This basically safes your computer from exploding :-)

(the wifi goes away, so goes the route to the VPN server - and if you
use redirect-gateway, there is a default route left pointing *into* your
VPN, which would then make the packet loop forever, burning all CPU cycles 
you have)

--keepalive / --ping should still notice (after the appropriate time)
that "there is no response coming from the server" and restart.


In doubt, try --permit-recursive-routing, which will turn off the check
and return to "pre-patch" behaviour.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]
fax: +49-89-35655025                        [email protected]

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to