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

[Openvpn-users] Performance issues (WinXP -> WinXP) with TCP, but not UDP


  • Subject: [Openvpn-users] Performance issues (WinXP -> WinXP) with TCP, but not UDP
  • From: "Brian Dignan" <Brian196@xxxxxxxxxxx>
  • Date: Mon, 2 Jan 2006 23:09:42 -0500

I just got OpenVPN setup last night on my two Windows XP machines, and I'm having throughput issues when I use TCP encapsulation, but not with UDP encapsulation. Here are the details:
 
I have two PCs configured with OpenVPN that share the same subnet on a single gigabit ethernet switch. The server's IP is 192.168.0.1 and the client's IP is 192.168.0.210. I tested throughput by copying a 62.8 MB file in three different configurations.
 
1) With no tunnel. The file transfer took about 2 seconds, which is roughly 32Mbps
 
2) With a UDP tunnel with no encryption. The file transfer took 18 seconds, which is about 3.65Mbps.
 
3) With a TCP tunnel with no encryption. The file transfer took 370 seconds, which is about 177Kbps.
 
Here are my configs:
 
#########################
 
## SERVER
auth none
cipher none
tun-mtu 1500
tun-mtu-extra 32
mssfix 1400
port 443
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.10.0 255.255.255.0"
push "route 192.168.20.0 255.255.255.0"
push "dhcp-option DNS 4.2.2.2"
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
verb 4
 
## CLIENT
 
auth none
cipher none
tun-mtu 1500
tun-mtu-extra 32
mssfix 1400
client
dev tun
proto tcp
remote 192.168.0.1 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client3.crt
key client3.key
verb 3
 
#########################
 
I had very similar results when I turned on encryption, so I figured it would be easier to troubleshoot with it turned off.
 
Let me know if you guys want me to change or test anything.
 
Thanks in advance,
Brian

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-01/msg00029.html on line 223

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-01/msg00029.html on line 223