Fix default MTU to 1420 as it has Wireguard kernel module set by default.

This commit is contained in:
Jakub Lansky 2025-01-08 08:33:55 +01:00
parent 2fdafd34ca
commit b3ff328afc
No known key found for this signature in database
GPG key ID: CF60BA7F104D82A4
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ const (
DefaultServerAddress = "10.252.1.0/24"
DefaultServerPort = 51820
DefaultDNS = "1.1.1.1"
DefaultMTU = 1450
DefaultMTU = 1420
DefaultPersistentKeepalive = 15
DefaultFirewallMark = "0xca6c" // i.e. 51820
DefaultTable = "auto"