From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@vger.kernel.org
Subject: Re: turning off iptables processing for bridged packets
Date: Sun, 27 Feb 2011 09:30:08 -0600 [thread overview]
Message-ID: <20110227153008.GN4855@cardinal> (raw)
In-Reply-To: <DD1D3360D73274A4C51A9FAB@Ximines.local>
On Sun, Feb 27, 2011 at 03:04:32PM +0000, Alex Bligh wrote:
> By default netfilter appears to apply iptables rules (specifically
> the FORWARD chain) to bridged packets. Is there a way to turn this
> off (i.e. only apply the FORWARD chain to routed packets, not
> bridged ones)? I seem to remember there is, but I can't for the
> life of me find the configuration setting.
I'm not sure if there is a runtime sysctl, but at compile time your
option is CONFIG_BRIDGE_NETFILTER.
If you don't want to compile a new kernel, you could put rules
passing bridge-only traffic at the top of FORWARD:
-A FORWARD -i br0 -o br0 -j ACCEPT
for example.
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
prev parent reply other threads:[~2011-02-27 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-27 15:04 turning off iptables processing for bridged packets Alex Bligh
2011-02-27 15:21 ` "Oleg A. Arkhangelsky"
2011-02-27 15:30 ` /dev/rob0 [this message]
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=20110227153008.GN4855@cardinal \
--to=rob0@gmx.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).