Comment 5 for bug 974912

Revision history for this message
Oliver Dumschat-Hötte (o-dumschatt-hoette) wrote :

Still the same issue in Ubuntu 12.04.2.

All pushed routes are added on tun0 device, including the route to the vpn gateway(s).
Imho this happens because the default route is changed to the tun0 device before the pushed routes are set. So all routes added after this will be bound to the (then default) tun0-Interface. I assume, changing the workflow to set the default route at the end of vpn initialisation could solve this problem.

Until now i took the direct way and changed this by patching network-manager-openvpn to let openvpn set the routes instead of network-manager, because patching only a plugin is much easier than patching the NetworkManager, but i don't think this is a good solution.