EasyTier / EasyTier

A simple, decentralized mesh VPN with WireGuard support.
https://easytier.top
Apache License 2.0
459 stars 41 forks source link

fix mtu and wireguard connector #120

Closed KKRainbow closed 1 month ago

KKRainbow commented 1 month ago
  1. fix mtu, always set by ourselves and use smaller value
  2. wireguard connector should return tunnel after receive packet
nayihz commented 1 month ago

why should we change the default MTU?

KKRainbow commented 1 month ago

old mtu (142) may lead to

  1. tcp proxy stall on macos
  2. windows ssh stuck on cat/top cmd.

I failed to find out why 1420 not work, so use 1380 as a workaround.