PasteZap
🌐 हिन्दी
मुफ़्त · बिना खाते के

मुफ़्त · नेटवर्क और आईटी इन्फ्रास्ट्रक्चर

MTU और MSS कैलकुलेटर.

PPPoE, MPLS, WireGuard, IPsec, GRE, VXLAN और अन्य टनलों से गुज़रने पर उपयोगी MTU और TCP MSS निकालें, क्लैम्पिंग कमांड के साथ।

शुरू करने से पहले

कुछ तकनीकी नियंत्रण अंग्रेज़ी में हैं। Unicode टेक्स्ट समर्थित है; फ़ाइल फ़ॉर्मैट और परिणाम की भाषाएं टूल पर निर्भर हैं।

तकनीकी सीमाएं नीचे अंग्रेज़ी में दी गई हैं। बड़ी फ़ाइलों को संसाधित करने या परिणाम का उपयोग करने से पहले इन्हें जांचें।

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED

1500 for standard Ethernet; 9000 or more with jumbo frames.

4 bytes each when the physical MTU cannot grow.

WireGuard’s default MTU of 1420 assumes an IPv6 outer header.

Inner MTU1420MSS 1380
Overhead
80 bytes
TCP MSS
1380
Ethernet frame (with FCS)
1518 bytes
TCP payload efficiency on the wire
89.7 %
Includes preamble and inter-frame gap (20 bytes)

Commands

# Linux interface MTU
ip link set dev wg0 mtu 1420

# Clamp TCP MSS on forwarded traffic (iptables)
iptables -t mangle -A FORWARD -o wg0 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1380

# nftables equivalent
nft add rule inet mangle forward oifname "wg0" tcp flags syn tcp option maxseg size set 1380

# Cisco IOS tunnel interface
ip mtu 1420
ip tcp adjust-mss 1380

Overhead breakdown (bytes)

ComponentBytes
Physical MTU1500
Outer IP header−40
UDP header−8
WireGuard header + Poly1305 tag−32
Usable inner MTU1420
TCP MSS (IPv4 20 + TCP 20)1380
  • Path MTU discovery fails when ICMP “packet too big” or “fragmentation needed” messages are blocked; MSS clamping avoids stalled TCP connections in that case.
  • Test with ping -M do -s <MTU−28> on Linux, or ping -f -l <MTU−28> on Windows.

इस टूल का उपयोग कैसे करें: MTU और MSS कैलकुलेटर

डेटा दर्ज करें या फ़ाइल चुनें। विकल्प बदलें, परिणाम बनाएं और कॉपी या डाउनलोड करने से पहले उसकी जांच करें।

सीमाएं और समर्थित फ़ॉर्मैट

आपका डेटा आपके उपकरण पर संसाधित होता है।

अंग्रेज़ी में तकनीकी जानकारी

IPsec overhead is computed for AES-GCM or AES-CBC with HMAC-SHA-256 in tunnel mode; other algorithms differ. GRE assumes no key or sequence fields. Everything is calculated in your browser; nothing is sent or probed on the network.

Each layer removes its header from the available MTU. For IPsec, the inner packet plus trailer is padded to the cipher block, so the largest inner size is solved exactly. MSS is the MTU minus IP and TCP headers.

WireGuard over IPv6 on a 1,500-byte link leaves an MTU of 1,420 and an IPv4 TCP MSS of 1,380.