Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
A little help with MTU please...
« previous
next »
Print
Pages: [
1
]
Author
Topic: A little help with MTU please... (Read 275 times)
CarlitoGrey
Newbie
Posts: 1
Karma: 0
A little help with MTU please...
«
on:
August 12, 2024, 07:19:21 pm »
Hi all,
Not a network engineer here but I've tried to glean what I can and provide as much info possible. Just a little confused on how to set MTU - I believe this to be the cause of the last intermittent issues I am seeing such as random sites not loading.
I have a dual WAN set up, and each WAN connection has a wireguard tunnel within. To establish the MTU this is the process I have been using:
Set physical interface to MTU 1508
Disable wireguard and route ICMP to a specific WAN connection.
Ping and increase packet size until I stop getting a response. Let's say the max I get is 1456
Set:
Physical interface to 1456+28
PPPoE to 1456+28-8
Wireguard instance and interface to 1456+28-8-60
For my second WAN the MTU is much lower, 1352, after pinging (it's a 5G connection), it's currently set:
Physical interface to 1352+28
Wireguard tunnel to 1352+28-60
I have also set normalisation for each wireguard interface with an MSS of 1456+28-8-60-40 for WAN1 and 1352+28-60
As mentioned with the above set up I am getting good speeds, but still websites will randomly stall. On refresh a few times they load quickly as I would expect.
Any validation of my process, or pointers would be very much appreciated!
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1601
Karma: 176
Re: A little help with MTU please...
«
Reply #1 on:
August 12, 2024, 07:31:59 pm »
Hey, in here you can find the best practice wireguard mtu and mss.
https://docs.opnsense.org/manual/how-tos/wireguard-s2s.html
Discussion on github was here:
https://github.com/opnsense/docs/pull/498
Logged
Hardware:
DEC740
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
A little help with MTU please...