WireGuard PPPoE MTU Fix: Stop Random Packet Loss
Quick takeaway: A WireGuard tunnel that "mostly works" but drops randomly — especially during re-key handshakes or large transfers — is almost always an MTU mismatch, not a flaky connection. On PPPoE lines, the textbook-default WireGuard MTU (1420) is simply wrong. Here's the exact math, and the fix that took packet loss from 3.4% to zero.
Your WireGuard VPN is up. Handshakes complete. Peers connected. But pings drop intermittently. Browsing stalls. File transfers freeze then resume. Everything looks fine in wg show but the tunnel clearly isn't stable.
Need Your VPN Stabilized?
Need help? Connect on WhatsApp 👉 wa.link/uw9n3f
Or ask on website chat for freelancer support.
This was exactly the problem across three WireGuard sites. After monitoring 1,800+ pings over 60 minutes and seeing 45 simultaneous drops across all targets, the root cause traced back to a single number: MTU.
The Symptom
Monitoring three VPN-connected IPs over 60 minutes:
TargetPings SentPings LostLoss %
172.20.60.5 (DC1 LAN)1,800623.4%
172.20.70.5 (DC1 LAN2)1,800583.2%
172.20.90.x (India via OpenVPN)1,800673.7%
Key finding: 45 of these drop events were simultaneous — all three IPs went down at exactly the same second. That rules out individual device problems. The fault is upstream, somewhere all three routes share. That shared path is the WireGuard tunnel.
Why WireGuard Over PPPoE Is Different
Normal Ethernet MTU
On a standard Ethernet connection, the maximum transmission unit (MTU) is 1500 bytes. A packet up to 1500 bytes fits in one Ethernet frame. No fragmentation.
PPPoE Overhead
PPPoE (Point-to-Point Protocol over Ethernet) is what most home and business ISP connections use. It wraps your Ethernet frames in an additional 8-byte header, reducing the usable MTU from 1500 to 1492 bytes. The ISP router negotiates this automatically, so most applications never notice — they just get slightly smaller packets.
WireGuard Overhead
WireGuard wraps your encrypted payload in its own header before sending it through the PPPoE connection: outer IP header (20 bytes), outer UDP header (8 bytes), WireGuard header (4 bytes), authentication tag (16 bytes), nonce (4 bytes) — roughly 32 bytes of effective overhead.
The commonly documented default WireGuard MTU is 1420 — calculated from a clean 1500-byte Ethernet line (1500 − 80 overhead estimate). That assumes a clean 1500 MTU line. PPPoE breaks the assumption.
What Happens When MTU Is Too High
When WireGuard MTU is set to 1420 on a PPPoE line (1492 effective MTU):
TCP negotiates a segment size based on the tunnel interface MTU (1420 → MSS of 1380)
The 1420-byte WireGuard packet plus ~52 bytes of WireGuard/UDP/IP headers = 1472 bytes
1472 bytes fits inside PPPoE's 1492-byte limit for most packets — so TCP mostly works
But large control packets, fragmented UDP, and WireGuard re-keying push the total over 1492
The PPPoE connection must fragment or drop these packets
WireGuard does not support fragmentation of its encrypted payload — so packets are silently dropped
The result: mostly works, but drops randomly — especially during WireGuard re-key handshakes (every ~3 minutes), large initial TCP connections, ICMP Path MTU Discovery responses, and UDP-based protocols like VoIP or DNS with large responses.
Proving It: TX-DROP Counter
MikroTik RouterOS tracks packets that failed to transmit through the WireGuard interface. Before the fix:
/interface print stats where type=wg
# NAME RX-PACKET TX-PACKET RX-DROP TX-DROP
# wg-uae 7,150,771 26,790,145 0 45,878
45,878 TX-DROP on the WireGuard interface. Every one of those was a packet that arrived at the WireGuard interface but couldn't be sent — because the assembled WireGuard packet exceeded the PPPoE MTU. After the fix, TX-DROP stopped accumulating entirely.
Calculating the Correct MTU
Ethernet MTU: 1500
PPPoE header: - 8
----
Effective MTU: 1492
WireGuard overhead: -32 (conservative estimate)
Safety margin: -48 (accounts for IPv6, extra headers)
----
Recommended WG MTU: 1412
Set WireGuard MTU to 1412 on ALL devices — not just the PPPoE side. If one end sends 1420-byte packets and the other end's PPPoE link can only handle 1412, the packets drop on transit.
The Fix: Setting MTU on MikroTik WireGuard
# On physical MikroTik (PPPoE side)
/interface wireguard set wg-ovh mtu=1412
# On remote CHR VMs (DC1, France)
/interface wireguard set wg-uae mtu=1412
/interface wireguard set wg-ovh mtu=1412
Verify:
/interface wireguard print
# → mtu=1412 on all WireGuard interfaces
/interface print stats where type=wg
# → TX-DROP should be 0 or not accumulating
MSS Clamping: The TCP Safety Net
Setting the MTU fixes the WireGuard layer. But TCP connections can still negotiate segment sizes that result in packets too large for the tunnel. MSS clamping tells routers to force TCP to use a smaller segment size during connection setup.
MSS for a 1412-MTU WireGuard tunnel: 1412 − 20 (IP header) − 20 (TCP header) = 1372.
# Create address list of WireGuard-connected subnets
/ip firewall address-list add list=wg-subnets address=10.50.0.0/24
/ip firewall address-list add list=wg-subnets address=172.20.10.0/24
/ip firewall address-list add list=wg-subnets address=172.20.60.0/24
/ip firewall address-list add list=wg-subnets address=172.20.70.0/24
/ip firewall address-list add list=wg-subnets address=172.20.90.0/24
# Clamp MSS for traffic going to/from WireGuard subnets
/ip firewall mangle add \
chain=forward action=change-mss new-mss=1372 \
passthrough=yes tcp-flags=syn protocol=tcp \
src-address-list=wg-subnets comment="MSS clamp WG src"
/ip firewall mangle add \
chain=forward action=change-mss new-mss=1372 \
passthrough=yes tcp-flags=syn protocol=tcp \
dst-address-list=wg-subnets comment="MSS clamp WG dst"
Note on RouterOS CHR: the out-interface=wg-xxx filter for MSS clamping is invalid on x86 CHR VMs in RouterOS 7.x (it works on physical hardware). Use the address-list approach above instead — it achieves the same result by matching traffic by destination subnet rather than outgoing interface.
MTU Reference Table
Connection TypeLine MTUWG MTUTCP MSS
Pure Ethernet150014201380
PPPoE149214121372
PPPoE + inner VLAN148814081368
Mobile 4G/LTE140013201280
When in doubt, use 1412 — it works for PPPoE and also works fine on Ethernet (you just lose 8 bytes of throughput, which is insignificant).
Before and After
MetricBefore FixAfter Fix
WireGuard TX-DROP45,878 (accumulating)0 (stable)
Ping loss to DC13.4%0%
Ping loss to India3.7%0%
Simultaneous drops45 events/hour0
WireGuard MTU14201412
MSS clampingMissing1372 (active)
Common Mistake: Only Fixing One Side
A frequent error is fixing MTU on the PPPoE side but leaving the remote server at 1420. The packet size is determined by the sending side's MTU. So: UAE (fixed, 1412) sends packets ≤ 1412 bytes → remote can receive fine. But DC1 (unfixed, 1420) sends packets up to 1420 bytes → UAE's PPPoE line tries to send 1420 + overhead bytes → exceeds 1492 → dropped.
Both sides must match. Set 1412 on every WireGuard interface in the network, not just the PPPoE endpoint.
How do I know if I'm even on PPPoE?
Check your router's WAN interface configuration — if it shows a PPPoE client interface (common with DSL and many fiber ISPs that require login credentials), you're on PPPoE. Pure DHCP or static-IP WAN connections are typically plain Ethernet and don't need this correction.
Will lowering the MTU slow down my connection?
Negligibly. Dropping from 1420 to 1412 loses 8 bytes per packet — well under 1% overhead. That's insignificant compared to the throughput lost to retransmissions and dropped packets from the mismatch itself.
Does this apply to non-MikroTik WireGuard setups?
Yes — the underlying math (Ethernet MTU minus PPPoE overhead minus WireGuard overhead) is protocol-level, not MikroTik-specific. On Linux wg-quick, set MTU = 1412 in the interface config; on other platforms, look for an equivalent MTU setting on the WireGuard interface.
Tunnel "mostly working" isn't good enough?
Intermittent packet loss on a site-to-site VPN usually means something specific and fixable — not a flaky line. We can trace it down with you, the same way this one got solved.
Book a free 30-min consult →
Tested on MikroTik RouterOS 7.22.2. Fix confirmed by TX-DROP counter dropping to zero and zero packet loss across all sites.