The safe lower limit for the Maximum Transmission Unit (MTU) size in a WireGuard setup depends on various factors, including the network topology, the type and speed of the connection, and the applications being used.
In general, the minimum MTU size for most WireGuard setups is 1280 bytes. This value is recommended because it allows for the addition of WireGuard headers and encryption, which add a total of approximately 40 bytes to each packet.
However, if you have a slower connection or are experiencing packet loss, you may want to consider increasing the MTU size even further. A common recommendation is to set the MTU size to the maximum supported by your network hardware, while ensuring that both the local and remote networks can handle the larger packet size.
To determine the maximum supported MTU size for your network, you can consult the documentation for your network hardware or contact your Internet Service Provider. Keep in mind that increasing the MTU size may require updates to your network configuration and applications.
It's important to note that larger MTU sizes can increase the risk of packet fragmentation and the potential for errors, so it's a good idea to carefully monitor your network performance when making these changes.