Please provide an option to disable network-manager-openvpn's overwriting the default route without also disabling its acquisition of nameserver information

Bug #1031480 reported by Charles M. Hannum
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When using network-manager-openvpn, it always overwrite the default route. There is an option to prevent overwriting the default route, but this also turns off addition of remote DNS information to dnsmasq. This behavior is wrong.

The OpenVPN server pushes an option, redirect-gateway, if it expects the client to change its default route. Although OpenVPN itself pays attention to this, the information is lost in the interface to nm-openvpn-service-openvpn-helper; instead, the helper always forwards the route from route_vpn_gateway up the stack, and NetworkManager always uses it.

Because of this, there is no correct way to configure a client to get remote routes and DNS from the VPN, but not a default route. This is very problematic.

Thomas Hood (jdthood)
summary: - network-manager-openvpn, default routes, and DNS issues
+ Please provide an option to disable network-manager-openvpn's
+ overwriting the default route without also disabling its acquisition of
+ nameserver information
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-openvpn (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.