MARK & RETURN at once ?

Linux Advanced Routing and Traffic Control

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

 



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 / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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