Expand description
Userspace TCP/IP network stack using smoltcp.
This module provides a TCP/IP stack that runs entirely in userspace, routing packets through our WireGuard tunnel.
Structs§
- NetStack
- A userspace TCP/IP network stack.
- TcpConnection
- A TCP connection through our network stack.
Constants§
- DEFAULT_
MTU - MTU for the virtual interface. Some networks drop large UDP packets, especially when WireGuard overhead is added. We use a conservative MTU that results in ~600 byte UDP packets after WireGuard encapsulation (MTU + 40 IP/TCP headers + 48 WG overhead ≈ 548 byte UDP). This works around networks that filter large UDP packets.