OPNsense Forum

English Forums => Virtual private networks => Topic started by: MikeSouth on August 25, 2024, 07:38:10 PM

Title: MTU/MSS problem with Wireguard router
Post by: MikeSouth on August 25, 2024, 07:38:10 PM
Hi, I've setup OPNsense 24.7.2 as a router as described here https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html (https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html).
This works great for my linux machines once I've set the Interface MTU to 1420 on the ISC DHCP server.
My Macbooks are not picking up the change and I can't use the router without setting the MTU manually from 1500 to 1420.

I am sure that I've done something wrong, could someone please point me in a direction.
The wireguard instance and the LAN interface do not have a MTU set. I've tried unsuccessfully.
Title: Re: MTU/MSS problem with Wireguard router
Post by: joezeppy on August 28, 2024, 01:44:05 PM
Instead of trying to change the MTU on the interfaces, try changing the MTU in the WireGuard instance configuration.  (toggle 'advanced mode' to see the MTU setting).  I have found that I need to set it to 1360 for my road warrior devices.
Title: Re: MTU/MSS problem with Wireguard router
Post by: MikeSouth on September 02, 2024, 09:46:26 AM
I've already tried to do that, I went as low as 1280.
I've started with a fresh install, I've tried normalisation, nothing helped besides setting the MTU on the client.
Title: Re: MTU/MSS problem with Wireguard router
Post by: Phil on September 19, 2024, 12:50:16 AM
Hi previously i had 40-50Mb/s in upload with Wireguard with MTU 1372 in WG interface but it seems since update it's max 10Mb/s

What happened? is it the same for you?

Best regards

PS: i tried with MSS in lan but the same result
cf:
https://forum.opnsense.org/index.php?topic=21184.0
Title: Re: MTU/MSS problem with Wireguard router
Post by: Phil on September 23, 2024, 09:51:39 PM
?