Linux Netfilter discussions
 help / color / mirror / Atom feed
* mark and accept in a single rule
@ 2011-02-20 15:13 E2IA
  2011-02-20 15:27 ` Andrew Beverley
  0 siblings, 1 reply; 6+ messages in thread
From: E2IA @ 2011-02-20 15:13 UTC (permalink / raw)
  To: netfilter

Hi all i'd like to know if it is possible to mark packet and accept in
the single iptable rule.
i've these 2 rules:

/usr/local/sbin/iptables  -t mangle  -A FORWARD     -m layer7
--l7proto  yahoo  -j MARK --set-mark 74
/usr/local/sbin/iptables  -t mangle  -A FORWARD      -m mark --mark
74  -j ACCEPT

but it seam that the second rule is never match.

can some one help me.
regards.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-20 21:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-20 15:13 mark and accept in a single rule E2IA
2011-02-20 15:27 ` Andrew Beverley
2011-02-20 16:10   ` E2IA
2011-02-20 17:18     ` Andrew Beverley
2011-02-20 20:45       ` E2IA
2011-02-20 21:15         ` Andrew Beverley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox