Skip to content

Fix default MTU to 1420 as it has Wireguard kernel module set by defa… #660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lenny87
Copy link

@lenny87 lenny87 commented Jan 8, 2025

Hello,

setting a MTU to 1450 by default in wireguard-ui makes tunnel created significantly downgraded performance as WG have 60byte header on IPv4 network and 80byte header on IPv6, so packet will get fragmented in both cases on standard 1500 MTU ethernet interface.

There should be sane default set and it can be changed in special circumastances

@BryceReedman
Copy link

I second this. I was having such weird problems, I thought I had messed up my firewall rules but then discovered that the MTU was 1450?? had to manually change it to wireguard's default MTU to get it working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants