SMB over Wireguard very slow

@anav
Local Site D ( Server for handshake )

  • changed WG addresses so server is …46.1, clients are .2 .3 .4 etc
  • removed static defcon DNS
  • changed ip route to wireguardD interface instead of IP
  • removed MSS Change mangle
  • /ip route

add disabled=no distance=5 dst-address=0.0.0.0/0 gateway=> 192.168.2.1 >
routing-table=main scope=30 suppress-hw-offload=no target-scope=10 { This route has no basis, there is no such gateway !! }

this is site D WAN gateway.

  • /ip route

add disabled=no distance=1 dst-address=> 192.168.100.1/32 > gateway=192.168.46.1 \ { This route has no basis, there is no such destination at Router M !! }

this is site M WAN gateway, to be reachable from local D site through WG.

Local Site M ( Clientfor handshake )

  • changed WG client addresses to .2
  • wlanU - guest wifi in M site. Tried to isolate them from NAS_M, WG and mtik_M. Allow only internet.
  • ip route to wireguardM instead of IP
  • tried Clamp MSS as per your reply on other similar topics + fasttrack=on + MTU1420(or 1380)
  • tried WG MTU=1380, mangle rule to clamp to pmtu and change to mss=1340, with and without fasttrack
  • tried WG MTU=1500

Still can’t get more than 5.5Mbps on NAS-NAS smb transfer.



@bommi, NAS-NAS ping is ~47ms.