Table of Contents

Class SplitTunnelingSettings

Namespace
VpnHood.AppLib.Api.Settings
Assembly
VpnHood.AppLib.Api.dll

Represents the split tunneling's settings, as the person stored them.

public class SplitTunnelingSettings
Inheritance
SplitTunnelingSettings
Inherited Members

Properties

AppMode

Gets or sets the split by app's mode. The default is All.

public SplitAppMode AppMode { get; set; }

Property Value

SplitAppMode

Apps

Gets or sets the apps the split by app names, by their IDs. The default is none.

public IReadOnlyList<string> Apps { get; set; }

Property Value

IReadOnlyList<string>

Countries

Gets or sets the countries the split by country names, by their codes. The default is none.

public IReadOnlyList<string> Countries { get; set; }

Property Value

IReadOnlyList<string>

CountryMode

Gets or sets the split by country's mode. The default is IncludeAll.

public SplitCountryMode CountryMode { get; set; }

Property Value

SplitCountryMode

DnsMode

Gets or sets the DNS's split mode. The default is IncludeAll.

public SplitDnsMode DnsMode { get; set; }

Property Value

SplitDnsMode

Enabled

Gets or sets a value indicating whether splitting is allowed at all. The default is true.

public bool Enabled { get; set; }

Property Value

bool

Remarks

Off keeps the traffic of the tunneled apps from going outside the tunnel: every split turns inert, and both modes for unsupported addresses act as Block, whatever they store. The local network (UseLocalNetwork) and the split by app stay, as neither can show the public address of the traffic the app protects. While the app waits on an ad, though, traffic other than DNS goes outside the tunnel all the same.

UnroutedIpMode

Gets or sets what happens to a destination the server does not route: Exclude bypasses it, Block fails closed. The default is Exclude.

public SplitUnsupportedIpMode UnroutedIpMode { get; set; }

Property Value

SplitUnsupportedIpMode

Remarks

The UI does not show it; its block covers IPv6 too, over UnsupportedIpV6Mode.

UnsupportedIpV6Mode

Gets or sets what happens to IPv6 where the server cannot carry it: Block keeps it inside, dead but private, and Exclude lets the system route it, working but visible to WebRTC and STUN probes. The default is Block.

public SplitUnsupportedIpMode UnsupportedIpV6Mode { get; set; }

Property Value

SplitUnsupportedIpMode

UseDomain

Gets or sets a value indicating whether the split by domain is on.

public bool UseDomain { get; set; }

Property Value

bool

UseIpViaApp

Gets or sets a value indicating whether the app's own split by IP ranges is on.

public bool UseIpViaApp { get; set; }

Property Value

bool

UseIpViaDevice

Gets or sets a value indicating whether the device adapter's split by IP ranges is on.

public bool UseIpViaDevice { get; set; }

Property Value

bool

UseLocalNetwork

Gets or sets a value indicating whether the local network goes outside the tunnel.

public bool UseLocalNetwork { get; set; }

Property Value

bool