LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2009, 06:51 PM   #1
jonnytabpni
Member
 
Registered: Sep 2008
Posts: 68

Rep: Reputation: 16
openvpn speed is capped


Hi folks,

Some of you may have been following me setting up some form of an openvpn gateway to the public. This is what I have on the server:

It is a VPS server with 10Mbps up and down (yey!)

Current, this server has TWO openvpn ethernet bridge connections. It is acting as an openvpn bridge client (tap0) which connects to my server at home to help me administer it and it also acts as an openvpn bridge server (tap1) so the public can access it (using a combination of wifidog/squid/squidguard).

My problem, is that the speed on the "public" vpn connection seems to be capped at around 1.6Mbps. Why do you reckon this is? From tap0 (which connects to my house) I get a solid 6Mbps (considering my DSL connection is only 8Mbps...)

Since this is a VPS server (I don't have access to it physically) and due to the nature of openvpn ethernet bridging, i had to create a dummy network interface (dummy0) and bridge this with tap1.

Maybe openvpn doesn't play well with dummy devices?

It has nothing to do with squid or wifi dog as I removed them for testing and this problem remains

Your help is very much appreciated.

Thanks

Update: It get weirder! The throughout of tap1 doesn't seem to be limited to 1.6Mbps overall, but neraly per connection. Example, a single user can download 2 files at 1.6Mbps each. FYI, I use 1.6 as a very rough figure. It vaires between 512k and 1.6Mbps. I know it sounds like I'm downloading from slow sites but normalls I would get full speed from these mirrors. Like as I type this, I am downloading files at 110KB/s,110KB/s,108KB/s,51KB/s,55KB/s (according to firefox).

Last edited by jonnytabpni; 04-18-2009 at 07:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenVPN ethernet bridging gets capped jonnytabpni Linux - Networking 0 04-09-2009 07:00 AM
ClarkeConnect: Bandwidth limited but data needs to be capped. OrcPeon Linux - Networking 2 05-31-2007 10:09 AM
[Proftpd] Internal (LAN) access capped at 2MB/S? joekr Linux - Networking 4 07-10-2005 05:49 PM
Traffic capped at 1gb/month absm1 Linux - Networking 0 09-12-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration