wireguard / protonvpn MSS/MTU config issues.
-
I previously had wireguard working for a long time already on a dual wan failover and a wireguard to openvpn failover for with the original settings below
WAN1 igb0 -> eth to Fritzbox -> PPPoE fibre
WAN2 igb1 -> eth to cable modemOriginal MTU/MSS settings that worked
pppoe MTU (default i.e. 1500)
pppoe MSS 1452 (-40)
tun_wg0 MTU 1412
maxmss 1452
opnvpn tun-mtu 1500
opnvpn tun-mtu-extra 32
opnvpn mssfix 1452wireguard has been playing up for about a week, and chatgpt gives me the below calculations
pppoe MTU 1492
pppoe MSS 1492 (-40)
tun_wg0 MTU 1412
maxmss 1452
opnvpn tun-mtu 1480
opnvpn mssfix 1452openvpn and the wan seems to be working fine.
from a client
curl -vk https://scmp.com * Host scmp.com:443 was resolved. * IPv6: 2606:4700::6812:cc2b, 2606:4700::6812:cd2b * IPv4: 104.18.204.43, 104.18.205.43 * Trying [2606:4700::6812:cc2b]:443... * Immediate connect fail for 2606:4700::6812:cc2b: Cannot assign requested address * Trying [2606:4700::6812:cd2b]:443... * Immediate connect fail for 2606:4700::6812:cd2b: Cannot assign requested address * Trying 104.18.204.43:443... * ALPN: curl offers h2,http/1.1 * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (OUT), TLS alert, decode error (562): * TLS connect error: error:0A000126:SSL routines::unexpected eof while reading * closing connection #0 curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while readingping from pfsense over the wireguard interface works fine. I have tried lowering the MTU for wireguard, but i can't seem to get a value that actually works
-
@4o4rh How low did you try? I have a wireguard connection to ProtonVPN and set MTU and MSS to 1420 (for the wireguard interface) and have never had an issue.
-
I set MTU 1472 and MSS to 1432 on both links.
I have tried a range of mtu-tun for wireguard down to 1320.
everything causes SSL errorAn error occurred during a connection to thermalright.com. PR_END_OF_FILE_ERROR Error code: PR_END_OF_FILE_ERROR The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.just started about 2 weeks ago. have tried switching to configs from different countries, routing through different wans. nothing works