From: "Jörg Harmuth" <harmuth@mnemon.de>
To: netfilter@lists.netfilter.org
Subject: Re: iptables rule command help
Date: Tue, 30 Aug 2005 16:26:17 +0200 [thread overview]
Message-ID: <43146C89.8050407@mnemon.de> (raw)
In-Reply-To: <20050830135924.86824.qmail@web30208.mail.mud.yahoo.com>
CC commmunication schrieb:
> Thankyou very much for your help.
> I have read a lot about iptables, but i cannot find
> any information about how many matches can be done in
> one statement.
> e.g
> can i match source subnet, destination subnet, source
> port range and destination port range with the --syn
> flag set.. etc.
yes
> If any one can explain how options can be matched in
> one iptables statement.
simply write one after the other as in my previous example. Combine as
you need it.
> i know it could be done by using user defined traget,
> and then do further processing with that traget
You can do it in any chain (also user defined ones), but depending on
the chain in question it's more or less usefull. And also depending on
the target some matches are more or less usefull. E.g. with
layer7-patch, matching against ports is totally useless ;)
Have a nice time,
Joerg
next parent reply other threads:[~2005-08-30 14:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050830135924.86824.qmail@web30208.mail.mud.yahoo.com>
2005-08-30 14:26 ` Jörg Harmuth [this message]
2005-08-30 10:00 iptables rule command help CC commmunication
2005-08-30 10:37 ` Jörg Harmuth
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=43146C89.8050407@mnemon.de \
--to=harmuth@mnemon.de \
--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.