Enum SplitUnsupportedIpMode
- Namespace
- VpnHood.Core.Client.Abstractions
- Assembly
- VpnHood.Core.Client.Abstractions.dll
Specifies what happens to traffic that wants the tunnel and is for a destination the server does not route: outside its ranges, or of an IP version it does not carry.
[JsonConverter(typeof(JsonStringEnumFallbackConverter<SplitUnsupportedIpMode>))]
[JsonEnumFallback(SplitUnsupportedIpMode.Block)]
public enum SplitUnsupportedIpMode
Fields
Exclude = 0The traffic goes directly, outside the VPN: everything keeps working, and an observer sees the traffic the server declined.
Block = 1The traffic is dropped, never sent around the tunnel. The adapter then captures it, whatever the server's adapter ranges say, as a packet it does not capture cannot be blocked.
Remarks
The user's own exclusions and blocks always win. In JSON it is a name; a name this version does not know reads as Block, which never sends traffic around the tunnel.