Score:1

which Wireguard MTU is chosen when each side has a different MTU value?

ph flag

tl;dr given a Wireguard client and server with different MTU values, which value is used?

Given a Wireguard "client" with configuration file

[Interface]
MTU = 1440
...

and a Wireguard "server" with configuration file

[Interface]
MTU = 1420
...

which MTU value is used? In other words, is there a negotiation between them for a common MTU value?
Or does each side use exactly the MTU value it is given?

Score:2
cn flag

Both will be used, WireGuard does not negotiate MTU. The MTU value just tells the particular local WireGuard not to construct data packets larger than the value set.

W.M. avatar
in flag
Is there a way, using for instance `iptables` to override the peer's `wireguard` MTU config on server side?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.