All of lore.kernel.org
 help / color / mirror / Atom feed
* MARK and ! question
@ 2003-06-26 13:28 Ruslan Spivak
  2003-06-26 14:51 ` Sven Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Ruslan Spivak @ 2003-06-26 13:28 UTC (permalink / raw)
  To: netfilter

Hello.

I need to mark with value 107 packets that are going NOT from the 
193.220.70.0/27 network and NOT from the 193.108.240.0/22 network.
Is it possible?

Below two lines seem not to work properly because second rule won't be 
reached.

iptables -t mangle -A POSTROUTING -s ! 193.220.70.0/27 -d 
193.220.70.32/27 -j MARK --set-mark 107

iptables -t mangle -A POSTROUTING -s ! 193.108.240.0/22 -d 
193.220.70.32/27 -j MARK --set-mark 107

Your help is very, very appreciated.

Best regards,
Ruslan



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

end of thread, other threads:[~2003-06-26 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-26 13:28 MARK and ! question Ruslan Spivak
2003-06-26 14:51 ` Sven Schuster
2003-06-26 15:11   ` Ruslan Spivak
2003-06-26 15:17     ` Chris Wilson
2003-06-26 15:22       ` Sven Schuster
2003-06-26 15:39       ` Ruslan Spivak
2003-06-26 15:40         ` Chris Wilson
2003-06-26 15:19     ` Sven Schuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.