From: Nikolai Alexandrov <voyager123bg@gmail.com>
To: Frank.Mayer@knapp-systems.com
Cc: netfilter@lists.netfilter.org
Subject: Re: ipsets for both source and target in one iptables-rule?
Date: Thu, 01 Dec 2005 17:53:25 +0200 [thread overview]
Message-ID: <438F1C75.2080003@gmail.com> (raw)
In-Reply-To: <OF6D4A24FC.BD8BFC33-ONC12570CA.004AA26A-C12570CA.004D205F@knapp.com>
Frank.Mayer@knapp-systems.com wrote:
>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
>
>
>
Have you tried without -m tcp? I think that -m tcp is wrong here.
>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
>
>
>
>
--
Ако не отговарям на писмата Ви - погледнете тук: http://6lyokavitza.org/mail
next prev parent reply other threads:[~2005-12-01 15:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-01 14:02 ipsets for both source and target in one iptables-rule? Frank.Mayer
2005-12-01 15:53 ` Nikolai Alexandrov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=438F1C75.2080003@gmail.com \
--to=voyager123bg@gmail.com \
--cc=Frank.Mayer@knapp-systems.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.