LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-08-2010, 09:57 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
tc - limit rate on VPN?


I would like to limit the VPN bandwidth on 1 IP address on my server:
tun0 and tun1 networks to 1Mbps.
I understand that I can do this with iptables but am not sure how the tc command is used in iptables.
Any ideas on how I could do this or a good link?
The documentation I have seen seems a bit rusty.
 
Old 11-08-2010, 11:59 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Lightbulb wondershaper and tc

Not sure which documentation you are referring to that is outdated, but I have found `tc` documentation to be lacking in the past.

However, I have seen LQ threads wherein a tool called `wondershaper` or `wshaper.hfsc` is suggested and/or reported to be useful for making bandwidth limiting a little easier.

Here's a link to a thread where there is a bit of info about these tools, and links to them, as well as a post containing a small, old, not-recently-maintained script of mine that I used for bandwidth sharing/limiting on my old firewall box, which you might find educational:
http://www.linuxquestions.org/questi...gement-781297/

Good luck! I hope these things help you some.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
limit bandwidth rate for scp using tc htb Linux abhelp Linux - Networking 9 08-20-2010 09:45 AM
How to limit upload rate? fernandomm Linux - Networking 1 05-30-2010 11:26 PM
tripping firewall rate limit, false positive? scattered Linux - Networking 1 09-19-2008 04:23 AM
Rate limit a nic to 1mbit stefaandk Linux - Networking 2 05-25-2007 10:40 PM
How do ISPs limit download rate per user? ganninu Linux - Networking 2 10-22-2003 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:36 PM.

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