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

Re: iptables mark target



Frank Remetter wrote:
i use the mark target for outbound shaping, but i am not sure, wether the chain will be left if a rule matches or not. In other words in which direction do i have to set up the rules?

I'll try again:

The entire table is traversed in the order that "iptables -L ..." lists
the rules, unless a target (the -j SOMETHING bit) decides to send the
packet somewhere else.  The MARK target just marks so packets will fall
through those rules.

>> first match apply oder last match?

Last.

Cheers,

    Blair.



Reply to: