Windows – How to speed up file transfers over VPN

ipsecvpnwindows

Our VPN users experience very slow file transfers (50MB can take 20 minutes with a 20Mbps FiOS connection on each side). If the file is transferred over HTTP or FTP, it's just as fast as you expect. I suspect this has something to do with how Windows handles file transfers, as it probably doesn't expect any latency. Is there some way to tweak this?

The VPN is SafeNet IPSec and the clients are XP.

Best Answer

This is most likely due to the SMB protocol being very "chatty", and requring many requests/acknowledgements before and during transfer. Here a couple of things that may help:

  • Adjust TCP windowing to be optimal for your network. A google search will bring up many tutorials
  • Upgrade to Server 2008 AND Vista machines (requires both to take advantage), as they use SMB2.0 which specifically targets this issue.
  • Install a WAN accelerator on either end, be it a dedicated device like a Riverbed device, or the BranchCache feature in Server 2008 R2.