-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
allow to change MTU for all VPNs #2044
Comments
Does using |
This flag doesn't to change the MTU is still 1500, however unable to verify as it works at the moment without any flags anyway. 2: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500 |
See the Basically the mtu is unchanged, but internal TCP connections will have packets at most as MTU-MSSFIX. I guess your issues are related to TCP (tunneled over UDP), if you have issues with UDP tunneled over UDP, then using the |
What's the feature 🧐
In certain circumstances MTU needs to be smaller as some networks have issues. Wireguard side seems to have now(link below) MTU parameter but not OpenVPN. Can there be a feature that allows setting lower MTU irrespective of if it is Wireguard or OpenVPN.
I resolve OpenVPN MTU limit problem simply executing below after starting the container, however this should be configurable parameter.
docker exec f86573009ed6 /sbin/ip link set dev tun0 up mtu 1300
#1650
Extra information and references
No response
The text was updated successfully, but these errors were encountered: