[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] TCP throughput problem with openvpn on windows - resolved


  • Subject: [Openvpn-users] TCP throughput problem with openvpn on windows - resolved
  • From: Thomas Glanzmann <sithglan@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 4 Mar 2006 16:54:25 +0100

Hello,
I had the problem that I got only 200kb/s from a windows machine through
an openvpn tunnel. But when I opened 4 connections I got 800 kb/s but
only 200kb/s with one connection. The problem was that the TCP Window on
the windows machine was to small and the ACKs were to slow, so that the
connection was around 200kb/s. I saw that also on ethereal when I looked
at the TCP connection. => [TCP WINDOW FULL]

I solved the issue on windows by setting these two registry entries:

        # This enables TCP Window Scaling (DWORD)
        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts=1

        # This makes the default TCP Window bigger (DWORD)
        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize=65355

See also:

http://proj.sunet.se/E2E/tcptune.html
http://www.speedguide.net/read_articles.php?id=157

Sincerely,
        Thomas

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00045.html on line 196

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00045.html on line 196