PDA

View Full Version : How to limit download speeds from the wireless router?


wellsimon
7th September 2008, 11:35 AM
Hi there,

As the title suggest I would like to setup rules in my router that will limit the downstream speed of each computer that is connected to the router (wireless or wired) to an amount that I specify like this:

Total bandwidth: 8 MB (O2 Broadband)

Comp #1 gets 3 MB

Comp #2 gets 4 MB

Comp #3 Gets 1 MB

I hope you get the picture and just letting you know I know of programs like net limiter and perfectsoft bandwidth manager ... but I cannot use them as they are not connected through a server or through my computer. They all connect to the same wireless router and I would like to have the setting changed in the router itself so obviously my question is how do I go about doing this.

The router is a Thomson router I believe - O2 Wireless BOX 2.( the white one)


Thx in advance
GB

Deancroft
7th September 2008, 11:40 AM
Hi wellsimon,

What you are wanting to do is a pretty advanced router feature.
You won't find that on any of the consumer grade routers. You might find this feature on a higher end wireless router by Cisco (or other business class routers). Either that or you could get yourself one of those Linksys wireless routers that run Linux and allow you to make your own modifications. You could then compile and install a bandwidth throttling application (like bandwidth manager from www.sourceforge.net) and try to get that running.

Sorry I don't have a better answer for you.

laurentio
7th September 2008, 11:58 AM
If your router supports QoS you could use that to limit the amount of bandwidth taken up by a particular computer.

What model of Linksys is this? If it doesn't have QoS built-in, check if newer firmware versions for it add QoS. If it's a WRT54G series, you've got several Linux-based firmwares that include QoS to chose from as Dean was explaining above.
One of the best consumer routers that supports QoS is Buffalo's Wireless-G MIMO Performance Router with DD-WRT (WHR-HP-G54DD)
Regards,

QoS = Quality of Service
Achieve the required QoS by managing the delay, delay variation (jitter), bandwidth, and packet loss parameters.

honkiz
22nd September 2008, 10:05 PM
No, it doesn't work.
I have the above router and is a good one just that the firmware is bad. QoS doesn't stop the banned clients at all.
I have been told that there's a better firmware available called tomato. I am going to give it a try and post here my feedback about both firmware.

laurentio
1st November 2008, 11:48 PM
It is good. It must be good. I am using it myself and it is just perfect. What exactly are you trying to block?
What version of DD-WRT do you have installed on your router?
24SP1?
(check this link for the latest release please (http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html))
Let's say that you want to block a Limewire user on your LAN.
1) Open your router interface. (make sure you have the latest version installed)
by typing 192.168.1.1 on your web browser (Mozilla, IE, Opera, etc)
2) Select "Access Restrictions"
3) Set the Status to "Enable" (radio button)
4) Enter a Policy Name (ie Limewire)
5) Select "Edit List of PCs". You can choose wich PCs (by IP, range of IP or MAC address) you want to control
6) Select "Deny" Internet access during selected days and hours.
7) Set the "Days" & "Times"

8) Select "Add/Edit Service"
You are now going to create a new service
9) Under "Service Name", enter "Limewire"
10) For Protocol, choose "TCP & UDP"
11) Enter "6347" (twice) for the "Port Range"
12) Select "Add" to add the new service.
Once added to the list at right, press "Apply", then "Close"

In the "Blocked Services" area, select "Limeware"

Under "Website blocking by URL address", enter the limeware URL
(www.limewire.com)

Save settings

Done!

laurentio
2nd November 2008, 09:51 PM
Here are the most common P2P port numbers, and listed resources below for you to be able to find port
numbers for anything(!) in the future:

Kazaa, Grokster, Morpheous
TCP 1214
UDP 1214

eDonkey
TCP 4661-4672
UDP 4661-4672

WinMX & Napster
TCP 6257
UDP 6257
TCP 6699
UDP 6699

BitTorrent
TCP 6881-6889
UDP 6881-6889

Gnutella (Bearshare, Limewire)
TCP 6346, 6347, 6348
UDP 6346, 6347, 6348

Napster
TCP 4444, 5555, 6666, 7777, 8888
UDP 4444, 5555, 6666, 7777, 8888

Share Direct
TCP 2705
UDP 2705

Grouper
TCP 8038
UDP 8038

These are the most common P2P programs, however there's a fairly
extensive list of them at Wikipedia:
http://en.wikipedia.org/wiki/Peer-to-peer

You can search for other PORT NUMBERS in a couple different ways:


EXTENSIVE Port list
http://www.neohapsis.com/neolabs/neo-ports/neo-ports.html


Port Search by NAME or Port Number:
http://ports.tantalo.net/

Another Port Search
http://www.neohapsis.com/neolabs/neo-ports/

TCP/UDP Port and Service Search
http://www.securitystats.com/tools/portsearch.php


Port Table
http://www.chebucto.ns.ca/~rakerman/port-table.html (http://www.chebucto.ns.ca/%7Erakerman/port-table.html)

Blocking P2P traffic
http://www.farrokhi.net/blog/archives/000233.html

P2P and Chat program port list
http://www.grape-info.com/doc/cisco/router/contents/block-p2p-chat.html

Looking to Block P2P Traffic?
http://www.slyck.com/news.php?story=668