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
janjust why not use redirect-gateway (no 'def1') in the client config? in that case OpenVPN will add the route for you.