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
WinXP: Default Route Missing
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Apr 09, 2012 9:22 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: WinXP: Default Route Missing
why not use
(no 'def1') in the client config? in that case OpenVPN will add the route for you.
Code: Select all
redirect-gateway
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sat Apr 21, 2012 6:07 am
Re: WinXP: Default Route Missing
@janjust Thanx 
