[LARTC] about fw marks on netfilter

Rio Martin. rio@martin.mu
Sat, 26 Jul 2003 11:56:55 +0700


Dear all,
Is it okay if i put many different rules on single mark.
example:

iptables -t mangle -A PREROUTING -p tcp -s 192.168.1.0/24 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -p tcp -s 192.168.2.0/24 -j MARK --set-mark 1
...
iptables -t mangle -A PREROUTING -p tcp -s 192.168.10.0/24 -j MARK--set-mark 1

Regards,
Rio Martin.
-- 
Q:  How many mathematicians does it take to screw in a lightbulb?
A:  One.  He gives it to six Californians, thereby reducing the problem
    to the earlier joke.