Page 1 of 1

WinXP: Default Route Missing

Posted: Mon Apr 09, 2012 9:29 am
by peterfarge
Hello Forum,

I ve got a OpenVPN config from my provider. All works fine. But if I lost the connection, I'm surfing with my true IP addresse. Therefore I to deleteed the default route. Instead I have added a persistent route to the OpenVPN Gateway. Now I can connect to the OpenVPN Gateway again. But the problem is now that the Default Gateway Entry in the OpenVPN Network Device is missing. If I add it manually I get this error message:
> route -p add 0.0.0.0 mask 0.0.0.0 17.73.220.1
> The route addition failed: Either the interface index is wrong or the gateway does not lie on the same network as the interface. Check the IP Address Table for the machine.

The Gateway lies in the network of the OpenVPN Device and if I use the correct interface index from "route print" I still get this error.


Thanks

Peter

Re: WinXP: Default Route Missing

Posted: Mon Apr 09, 2012 11:47 pm
by janjust
why not use

Code: Select all

redirect-gateway
(no 'def1') in the client config? in that case OpenVPN will add the route for you.

Re: WinXP: Default Route Missing

Posted: Wed Apr 25, 2012 11:04 am
by superjohn5566
@janjust Thanx :D