metrics on pushed routes not applied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager-OpenVPN |
Expired
|
Medium
|
|||
network-manager-openvpn (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
We have a couple of VPN endpoints located in different places. These each provide access to a bunch of things located in both places. We decided that it would be a good idea to let people connect to both endpoints so that by adjusting the metrics on the pushed routes (we used 500 and 1000) our users would always use the shortest available path.
This works great with vanilla openvpn, but when using network-
This seems to affect network-
description: | updated |
Changed in network-manager-openvpn: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in network-manager-openvpn: | |
status: | Confirmed → Expired |
Properly set openvpn client config works in NetworkManager- openvpn, but the static rutes that are pushed from the server are created with wrong metric (50 instead of 301)
Relevant config directives on server side:
push "route 192.168.100.0 255.255.255.0 vpn_gateway 301"
routing table on client after the connection has been set up:
192.168.100.0/24 via 192.168.17.222 dev tun0 proto static metric 50
Desired behaviour would be to set up the static route as follows:
192.168.100.0/24 via 192.168.17.222 dev tun0 proto static metric 301