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

[Openvpn-users] Please tell me why my OpenVPN is slow?


  • Subject: [Openvpn-users] Please tell me why my OpenVPN is slow?
  • From: "Joe Hansen" <joehansen12@xxxxxxxxxxx>
  • Date: Tue, 07 Nov 2006 20:08:09 +0000

Good afternoon to you all!

Here's my OpenVPN configuration.

OpenVPN Server:
Processor:  Intel(R) Pentium(R) 4 CPU 1800MHz, 256KB Cache
Memory: 512 MB
OS: Fedora Core 3
Lan IP: 192.168.21.5

Gateway Router (that's the interface between the company LAN and the WAN):
Lan IP: 192.168.21.1
Public WAN IP: 66.29.A.B
Port 1194 is forwarded to 192.168.21.5 (our OpenVPN server)

File Servers (both run RHEL 4, Intel(R) Xeon(TM) CPU 3.20GHz, 16GB RAM):
File Server 1 Lan IP: 192.168.21.3
File Server 2 Lan IP: 192.168.21.4

OpenVPN GUI Client:
OS: Windows XP Professional
Internet Bandwidth: 1.5 Mbps
Pentium 4 2GHz, 512MB RAM

OpenVPN Server config file:
#server.conf
port 1194
proto udp
dev tun
ca /usr/share/doc/openvpn-2.0.7/easy-rsa/keys/ca.crt
cert /usr/share/doc/openvpn-2.0.7/easy-rsa/keys/server.crt
key /usr/share/doc/openvpn-2.0.7/easy-rsa/keys/server.key
dh /usr/share/doc/openvpn-2.0.7/sample-keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.21.0 255.255.255.0"
client-config-dir /usr/share/doc/openvpn-2.0.7/ccd
keepalive 10 120
persist-key
persist-tun
status openvpn-status.log
verb 3



OpenVPN Client file in client-config-dir:
#client1
ifconfig-push 10.8.0.13 10.8.0.14


OpenVPN Client config file
#client1.ovpn
client
dev tun
proto udp
remote 66.29.A.B 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca c:\\keys\\ca.crt
cert c:\\keys\\client1.crt
key c:\\keys\\client1.key
comp-lzo
verb 3


Problem:
It takes almost a minute to upload a 1MB photo from the client machine to a 
samba folder on my file server(192.168.21.3/smb2) thru OpenVPN. Is this 
latency expected and acceptable? If not, is there any way I can configure 
OpenVPN to speed things up?

Thanks much for reading!

Sincerely,
Joe.

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

______________________
OpenVPN mailing lists
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-11/msg00065.html on line 254

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-11/msg00065.html on line 254