On Fri, Jan 18, 2002 at 12:39:58AM -0800, Troy Rockwood wrote: > I'm new to the list and to traffic shaping, however I understand the > idea behind it I believe. My home computer is connected via DSL. I > run an ftp server and I have a home network behind the machine so that > it acts as the router/gateway for that network. > I get a lot of ftp traffic, sometimes so much that traffic from the > home network is too slow to be useful. What is the easiest way to give > all other traffic priority over ftp-data traffic so that it doesn't eat > up all my bandwidth and starve my wife's web browsing? Here is what I > have tried: > > I have tried to use iptables to change the TOS bits such that traffic > other than that to port 20 is given priority: > > [some commands deleted] > This does not seem to move ftp-data packets into the lowest priority > bin. I'm not sure what syntax to use to move all BUT ftp-data packets > to the high priority bin or how to move only ftp-data packets into the > lower priority bin. > > This is probably something stupid and easy but it's not clear to me > right now. Any help would be greatly appreciated. What I'm looking > for is the simplest way to give other traffic higher priority than the > traffic to/from the ftp-data port (20). Thanks in advance and thanks > for your patience. > Depending on the ftp mode clients use, data-port may not be the port 20. In passive mode, the client choose himself the data port. Maybe it is your case. > ===== > Troy Rockwood - troyrock@rocketmail.com > -- Michael Strauss