[LARTC] IMQ and outgoing traffic.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Leszek,

 : Configuring IMQ for egress traffic, it is not possible
 : to specify interfaces which we want use to shape.

I'm afraid I'll have to disagree!  :)  Try adding the "-o interface" flag
to your iptables command to select based on the output interface.
Instead of:

  iptables -t mangle -A POSTROUTING -j IMQ

Use:

  iptables -t mangle -A POSTROUTING -o eth0 -j IMQ
  iptables -t mangle -A POSTROUTING -o eth1 -j IMQ
  iptables -t mangle -A POSTROUTING -o eth2 -j IMQ

As long as you don't write an iptables command which matches packets
leaving eth3 (and directs them to IMQ), you should have what you desire.

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux