Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-30-2003, 12:10 AM   #1
LQ Newbie
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Bandwidth limiting using cbq - UL only

Okay guys, sorry if this has already been covered...

I'm trying to limit bandwidth on my NAT linux box (using cbq on Debian/testing). The point is to slow upload traffic (from hosts behind my NAT box TO the internet) on port 1512 yet leave downloads un-limited. Here's my setup:

eth0 - Internet connection (cable modem) 10Mbit
eth1 - LAN connection (10.0.0.x) 100Mbit

My NAT box has ip

I played around with cbq and did my best to understand the very limited documentation there is out there on the subject. I created a rule file like this:


I *thought* this would limit all Upload from the 10.0.0.x network on port 1512 to the internet, but instead it seems to be limiting all uploads AND downloads on port 1512. Does that make sense?

Should I be writing a rule for eth0 instead/as well?
I've played around with the rules (adding a ',' before/after the :1512, etc) but I either get no effect - or end up limiting both DL and UL).

I really really hope somebody can straighten this out as its quite frustrating - can you make a new rule file for me??? :P

Thanks in advance -

Last edited by barlent; 04-30-2003 at 12:11 AM.


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
Bandwidth Limiting Using CBQ..problem :( hasnain Linux - Networking 1 03-04-2006 02:17 PM
using cbq.init to shape bandwidth? shrike_912 Linux - Software 1 10-31-2004 11:24 AM
cbq squid delay pool bandwidth issue tarak4u Linux - Networking 0 03-12-2004 10:12 AM
limiting upload with CBQ orko Linux - Networking 3 11-28-2003 03:46 PM
need advice about cbq/iproute2/bandwidth shaper setting Yaukuai Linux - Networking 0 08-03-2001 09:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:31 AM.

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