TOOLS Calculate exact WireGuard & Tailscale MTU, TCP MSS clamps, and CIDR ranges in seconds Open MTU & Subnet Tool →
Interactive Network Engineering Utility

WireGuard MTU, MSS Clamp & CIDR Subnet Calculator

Calculate safe WireGuard tunnel MTUs across Ethernet, FTTH PPPoE, and LTE links, generate ready-to-paste nftables MSS clamp rules, and split IPv4 CIDR blocks cleanly.

1. Tunnel Link & IPv4 Subnet Inputs

2. Calculated Results & Config Snippet

Safe Tunnel MTU1412
TCP MSS Clamp (IPv4)1372
Network / Broadcast10.66.0.0 / 10.66.0.255
Subnet Mask255.255.255.0
First – Last Usable10.66.0.1 – 10.66.0.254
Usable Host IPs254

Why WireGuard Packet Math Prevents Silent TLS Stalls

When a server sends a 1420-byte WireGuard payload over an ISP fiber link whose PPPoE header caps WAN packets at 1492 bytes, the encrypted UDP packet (1420 + 60 = 1480B over IPv4, or 1420 + 80 = 1500B over IPv6) silently drops whenever IPv6 endpoints are reached or double encapsulation occurs. Reducing MTU accurately and clamping TCP SYN MSS avoids Path MTU Discovery blackholes completely.

Avoiding Private Subnet Collisions in Multi-Site Meshes

Never assign 192.168.1.0/24 or 192.168.0.0/24 to tunnel interfaces: remote home and hotel routers overwhelmingly use those same prefixes, causing routing loops or broken DNS lookups when clients travel. Use deterministic high-entropy 10.<random>.x.0/24 blocks or reserved RFC 6598 ranges if integrating with Tailscale.

Related Infrastructure Guides