Block LocalNetwork

This feature can block all local network connections during the VPN session. Blocking of local network controls by BlockLocalNetwork property in StrartVpnRequest is true.

var startVpnRequest = new StartVpnRequest
    {
        Credentials = getCredentialsResponse.Credentials,
        DeviceId = DEVICEID,
        EnableKillSwitch = false,
        EnableTunnelLogging = false,
        VpnNode = node,
        BlockLocalNetworks = true
    };

var _ = sdk.StartVpn(startVpnRequest);

Last updated