id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 1457,removing incorrect route on exit,agowa338,Antonio Quartulli,"I have only the following static routes set (before OpenVPN is started): `192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.10` `192.0.2.146 via 192.168.0.1 dev eth0` The OpenVPN config has `redirect-gateway def1` set and the Server has the IP 192.0.2.146. Now when OpenVPN connects it adds the route for the default gateway through the VPN tunnel as it should. It also tries set `/sbin/ip route add 192.0.2.146/32 via 0.0.0.0` which throws a warning with `RTNETLINK answers: No such device`. This is not an issue. But once OpenVPN exits it tries to cleanup the routes and thereby deletes the wrong one. It deletes the one previously existed and that points towards the OpenVPN server. And therefore it won't be able to be restarted. Routing table after OpenVPN exited: `192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.10`",Bug / Defect,assigned,major,release 2.7,Networking,,"Not set (select this one, unless your'e a OpenVPN developer)",,removing deleting static route exit,