|
|
Farkas Levente <lfarkas@xxxxxxx> said: > James Yonan wrote: > > The --redirect-gateway feature has been added > > which redirects all IP traffic into the tunnel. > > unfortunately it's doesn't seems to working:-( > ---------------------------------- > NOTE: unable to redirect default gateway -- cannot obtain current remote > host address > ---------------------------------- > but as you can see from the attached config file I define the remote ip. > what can be the problem? > thanks. I think I see the problem. You are using --resolv-retry which delays --remote resolution. At the time that --redirect-gateway is processed, the remote address has not yet been obtained. As an immediate workaround, try getting rid of the --resolv-retry. I expect that will fix the problem. The bug is that essentially --redirect-gateway and --resolv-retry don't work together. I don't expect the fix to be very difficult -- it is just an initialization sequencing problem. James ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |