From: "S?ébastien Cramatte" <scramatte@zensoluciones.com>
To: netfilter@vger.kernel.org
Subject: Why REJECT target is not supported with MANGLE ?
Date: Wed, 09 Jan 2008 23:20:42 +0100 [thread overview]
Message-ID: <478548BA.2020903@zensoluciones.com> (raw)
Hello,
Why REJECT target is not supported with MANGLE ?
My server is running debian etch4 with 2.6.22 kernel and setuped as
traffic shaper + transparent bridge
The command with connlimit bellow won't work and return me "Invalid
Argument"
iptables -t mangle -N mytable
iptables --table mangle --append POSTROUTING --out-interface br0 --match
physdev --physdev-is-bridged --physdev-out eth0 --jump mytable
iptables -t mangle -A mytable --proto tcp --match connlimit
--connlimit-above 15 --connlimit-mask 32 --jump REJECT
iptables -t mangle -A mytable --jump CLASSIFY --set-class 1:10
How can I achieve this kind of setup ?
Regards
next reply other threads:[~2008-01-09 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 22:20 S?ébastien Cramatte [this message]
2008-01-10 8:46 ` Why REJECT target is not supported with MANGLE ? Gáspár Lajos
2008-01-10 8:53 ` Michele Petrazzo - Unipex srl
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=478548BA.2020903@zensoluciones.com \
--to=scramatte@zensoluciones.com \
--cc=netfilter@vger.kernel.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.