Skip to contentSkip to conversation

MARK & RETURN at once ?

LARTC raptor 1 participant 1 message May 5, 2004

lore
Share & tools
lore

raptor

author
#0 lore raw

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
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/