Re: OpenVPN and avoiding default route



On Fri, 2016-11-25 at 17:08 +0100, Anders Blomdell wrote:
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);
      }

Hi,

This sounds like RFE https://bugzilla.gnome.org/show_bug.cgi?id=762911

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]