All of lore.kernel.org
 help / color / mirror / Atom feed
* ipsets for both source and target in one iptables-rule?
@ 2005-12-01 14:02 Frank.Mayer
  2005-12-01 15:53 ` Nikolai Alexandrov
  2005-12-01 16:22 ` Jozsef Kadlecsik
  0 siblings, 2 replies; 11+ messages in thread
From: Frank.Mayer @ 2005-12-01 14:02 UTC (permalink / raw)
  To: netfilter

Hello,

I'd like to use two ipsets in a single iptables rule similar to

iptables -A FORWARD -p tcp -m tcp --dport ssh -m set --set clients src -m 
set --set servers dst  -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A FORWARD -p tcp -m tcp --sport ssh -m set --set servers src -m 
set --set clients dst -m state --state ESTABLISHED -j ACCEPT

Can anyone tell me if that's just a syntax error or if this is entirely 
impossible?
(Kernel 2.4.32, iptables 1.3.4, ipset 2.2.7)

Thanks in Advance,
Frank Mayer
UNIX Systemadministration
----------------------------------------------------
KNAPP Systemintegration GmbH
Waltenbachstrasse 9
8700 Leoben, Austria
----------------------------------------------------
Phone: +43 3842 805-921
Fax: +43 3842 82930-921
frank.mayer@knapp-systems.com
www.knapp.com


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

end of thread, other threads:[~2005-12-02 21:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-01 14:02 ipsets for both source and target in one iptables-rule? Frank.Mayer
2005-12-01 15:53 ` Nikolai Alexandrov
2005-12-01 16:22 ` Jozsef Kadlecsik
2005-12-01 18:05   ` Antwort: " Frank.Mayer
2005-12-02  7:48     ` Jozsef Kadlecsik
2005-12-02 11:42       ` Antwort: " Frank.Mayer
2005-12-02 12:18         ` Rob Sterenborg
2005-12-02 11:59       ` Frank.Mayer
2005-12-02 12:19         ` Jozsef Kadlecsik
2005-12-02 13:33           ` Antwort: " Frank.Mayer
2005-12-02 21:48             ` Jozsef Kadlecsik

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.