Martineau
Part of the Furniture
OK thanks, so its probably/definitely not IPv6 related, as it hopefully IPv6 isn't ENABLED
Perhaps when issuing theWhat would the difference be by uninstalling wgm and stopping the peers? Or installing wgm new vs restarting the peers? It doesn't make sense (to me)...
wireguard_manager
'stop wg1x' command I don't properly clear/tear-down everything whereas an uninstall/reboot does.So the only thing that
wireguard_manager
can influence is the MTU used by the peer and the TCP MSS '--clamp-mss-to-pmtu'I have uploaded
wireguard_manager
Beta v4.12bE which contains a couple of tweaks- Optionally DISABLE the TCP MSS '--clamp-mss-to-pmtu' firewall rule
- Increase the range of the allowed Peer MTU to 1280-1500 (default if not specified is 1420)
Code:
e = Exit Script [?]
E:Option ==> uf dev
Router RT-AC86U Firmware (v3.0.0.4.386.3_beta1)
[✔] Entware Architecture arch=aarch64
v4.12bE WireGuard Session Manager (Change Log: https://github.com/MartineauUK/wireguard/commits/dev/wg_manager.sh)
MD5=442977f9e06ba0d911bcdfcd809aeecd /jffs/addons/wireguard/wg_manager.sh
wireguard: WireGuard 1.0.20210124 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[✔] WireGuard Module LOADED
Code:
e = Exit Script [?]
E:Option ==> createconfig
Warning: WireGuard configuration file '/jffs/addons/wireguard/WireguardVPN.conf' already exists!...renamed to 'WireguardVPN.conf20211208-105150'
Creating WireGuard configuration file '/jffs/addons/wireguard/WireguardVPN.conf'
WireGuard ACTIVE Peer Status: Clients 0, Servers 0
vx
command to uncomment the 'NOTCPMSS' directive in the WireGuard config....then restart ALL servers/clients.
Messing with MTU value can be tedious, but
WireGuard
apparently tolerates any value between 1280 and 1500 (although wireguard_manager
previously only allowed 1420 as the maximum value.)@DreaZ
You can certainly try disabling the TCPMSS then try setting the Peer MTU to the lowest value 1280
e.g.
Code:
e = Exit Script [?]
E:Option ==> peer wg11 mtu=1280
[✔] Updated MTU
e.g.
Code:
ip a l wg11 | head -n 1
77: wg11: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 qdisc noqueue state UNKNOWN group default qlen 1000
P.S. I recall seeing 1380 being a suggested working WireGuard MTU value rather than the default 1420, but you could even try 1500 but it may simply fail to connect.
Last edited: