Would it make sense to let the OpenVPN server disable default-routing in
network manager, for instance
by checking if a 'push "route-gateway x.y.z.w"' has been done from the server?
I mena smething like this, (nm-openvpn-service-openvpn-helper.c):
/* Internal VPN subnet gateway */
tmp = getenv ("route_vpn_gateway");
if (tmp == NULL) {
val = g_variant_new_boolean (TRUE);
g_variant_builder_add (&ip4builder, "{sv}",
NM_VPN_PLUGIN_IP4_CONFIG_NEVER_DEFAULT, val);
}
/Anders
--
Anders Blomdell Email: [email protected]
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list