Tuesday, January 20, 2009

Increasing performance for OpenVPN on WinXP

We use OpenVPN for all of our remote clients. While our pings times have been normal, I just noticed that our throughput was suffering on a lot of system (300-400KB/sec on a 10MB link). After much troubleshooting and searching, I came across this page. After adjusting the TcpWindowSize, Tcp1323Opts & SackOpts on WinXP clients...I was able to boost my performance to an acceptable level. During testing, I was able to max out around 1.5MB/sec. If you save the following text to a file, give it a .reg extension, run it & reboot. You may see similar improvements...

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"Tcp1323Opts"=dword:00000001
"TcpWindowSize"=dword:0003ebc0
"SackOpts"=dword:00000001

1 comment:

henry said...
This comment has been removed by a blog administrator.