Hi!

I have a machine

   ISP
    |
    | eth0
+-------+
| Linux | eth2
|  QoS  |------ DMZ
|  box  |
+-------+
    | eth1
    |
   WAN

I want to shaping incoming bandwidth and outgoing bandwidth where incoming
means all packets entering eth0 and outgoing means all packets entering eth1
_or_ eth2.

How do I do that?

Outgoing traffic is easy since I can do shaping on eth0, but incoming is not
so simple since I want to do shaping on eth1+eth2. Can I just use the IMQ
device and do this:

iptables -t mangle -A PREROUTING -i eth1 -j IMQ
iptables -t mangle -A PREROUTING -i eth2 -j IMQ

and then use imq0 as the interface on which I do my incoming shaping?

-- 

Regards
 Abraham

The Marines:
        The few, the proud, the not very bright.

___________________________________________________
 Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
 P.O. Box 3472, Matieland, Stellenbosch, 7602
 Cell: +27 82 565 4451 Http: http://www.frogfoot.net
 Email: [EMAIL PROTECTED]

Attachment: msg02994/pgp00000.pgp
Description: PGP signature

Reply via email to