Solved

Why is my OpenVPN connection so much slower than my internet connection speed?

Posted on 2008-10-17
6
2,971 Views
Last Modified: 2012-06-21
I have an OpenVPN tunnel set up between the two sites using TCP and port 51194 with encryption. The VPN server and client are also the router for each site and are running an ubuntu package from ebox-platform.com

I am experiencing slow speeds pulling files from a Windows 2003 Server in site A to a workstation in site B. I can achieve much faster speeds sending files from site B to site A.

I have compared the speeds of transfering files from site A to site B using FTP and VPN.
VPN - 30 KB/s       FTP - 200 KB/s

Transferring a file from site B to the server in site A I get speeds upwards of 120 KB/s.

I understand there is some overhead using VPN, but I am only getting about 20% of my maximum site 1 upload speed. I can greater bandwidth if needed. However is there anything to help me get better performance from the OpenVPN?
0
Comment
Question by:mattattat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 8

Accepted Solution

by:
sstone55423 earned 168 total points
ID: 22744737
You need hardware VPN to get better speeds.  Something like a Sonic Wall Firewallwould work great.
 
Also, is your ISP connection (used for VPN) a DSL or Cable modem?  They have different speeds up versus down.
0
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 84 total points
ID: 22744761
I would try with a router based VPN in hardware, since you may be taxing your servers ( check resource usage, CPU, RAM, IO etc )

have you a speed comparison done without the VPN tunnel. You do not always get the spped you think you should be getting.

 
I hope this helps !
0
 

Author Comment

by:mattattat
ID: 22771886
I checked the resources on the routers while using the VPN. They barely registered any usage.

I did switch the protocol to UDP and am now getting about 75%-80% of my upload speed. Is this about as good as I should expect?
0
 
LVL 8

Assisted Solution

by:sstone55423
sstone55423 earned 168 total points
ID: 22788630
The general rule of thumb with TCP/IP is 70% efficiency, so it sounds like you are doing pretty good.
 
But, the question is why is TCP so much slower outside of the VPN than within the VPN?
 
The reason I asked about the cable modem or DSL is that there are usually faster in one direction than the other, and you describe the issue as faster in one direction than the other.
0

Featured Post

Now Available: Firebox Cloud for AWS and FireboxV

Firebox Cloud brings the protection of WatchGuard’s leading Firebox UTM appliances to public cloud environments. It enables organizations to extend their security perimeter to protect business-critical assets in Amazon Web Services (AWS).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco ASA 5506W VPN Clients not seeing local network 12 73
SSL RA VPN 7 118
slow vpn connection 9 87
VNC stopped working when I log off the PC connected via VPN 20 27
I've written this article to illustrate how we can implement a Dynamic Multipoint VPN (DMVPN) with both hub and spokes having a dynamically assigned non-broadcast multiple-access (NBMA) network IP (public IP). Here is the basic setup of DMVPN Pha…
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question