[LARTC] MARK & RETURN at once ?
raptor
raptor@tvskat.net
Thu, 6 May 2004 01:13:56 +0300
Is there some shortcut of MARK & RETURN at once , instead of doing this :
iptables -A FORWARD -t mangle -s x.x.x.x/24 -j MARK --set-mark 1
iptables -A FORWARD -t mangle -s y.y.y.y/24 -j MARK --set-mark 1
................................
iptables -A FORWARD -t mangle -s z.z.z.z/24 -j MARK --set-mark 1
the idea is that when a packet is marked I dont want further processing in this chain...
so that it "SOUNDS MORE" like this :
iptables -A FORWARD -t mangle -s x.x.x.x/24 -j MARK --set-mark 1 -j RETURN
iptables -A FORWARD -t mangle -s y.y.y.y/24 -j MARK --set-mark 1 -j RETURN
................................
iptables -A FORWARD -t mangle -s z.z.z.z/24 -j MARK --set-mark 1 -j RETURN
'cause there severel hundred of them .... and the further proceesing is unnececary once marked..
tia