ShadowJonathan / eduP2P

An authenticated peer-to-peer network overlay
MIT License
3 stars 1 forks source link

Research WG MTU setting #36

Open ShadowJonathan opened 4 months ago

ShadowJonathan commented 4 months ago

Description

As far as I've been able to research, WireGuard has some knob to control MTU, but this is not exposed in wgctrl as far as I can see.

It's pretty important to try to figure this out, since if we can control MTU for individual connections or for the device as a whole, we can either set it to a safe minimum (1200 or thereabouts), or we can set it per-endpoint to the discovered path MTU, and have a bunch of throughput.

Right now the MTU discovery mechanism isn't implemented because of this, if there is a way to instruct wireguard about its MTU, then we should possibly implement that.