Table of Contents

Class TunnelOptions

Namespace
VpnHood.Core.Tunneling
Assembly
VpnHood.Core.Tunneling.dll

Represents the options of a Tunnel.

public class TunnelOptions
Inheritance
TunnelOptions
Inherited Members

Properties

MaxPacketChannelCount

Gets the most packet channels the tunnel holds at once.

public required int MaxPacketChannelCount { get; init; }

Property Value

int

Mtu

Gets the largest packet the tunnel's other end takes, as the packet is.

public required int Mtu { get; init; }

Property Value

int

UdpChannel

Gets the session's UDP channel, which the tunnel takes over and disposes, or null for a session without UDP.

public IPacketChannel? UdpChannel { get; init; }

Property Value

IPacketChannel