From: "Steve Jones" <sjones@ftdata.com>
To: Gerry Weaver <gerryw@objectivedomain.com>, netfilter@lists.netfilter.org
Subject: RE: iptables bridge filter question
Date: Thu, 18 Mar 2004 10:02:46 -0500 [thread overview]
Message-ID: <79C037414A4B604CA73F5222570C6DFC800F@e2k3.ftdata.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]
I don't think I'm entirely clear about what you are trying to block, but
I *THINK* I just went through the learning curve to do a similar thing
myself, and was successful. Check out ebtables.sourceforge.net. My
requirement was to put a transparent bridge between a router and a
switch, to block or allow CERTAIN traffic based on source and/or
destination IP addresses. My particular scenario would have been more
appropriately handled by standard iptables, except for that I don't
control the network configuration, so I couldn't change any IP
addresses.
Basically, I downloaded the latest ebtables user space utilities, and
the kernel source for 2.6.4, compiled it on my fresh RH9 box, then
compiled the ebtables tools. Ebtables then gave me the ability to
filter packets at layer two, while bridging.
I'm not at the site today where the firewall is, but I'm going to be
VPNing in later to get the small scripts I used. Let me know if you
want me to send them as an example.
-Steve
________________________________
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Gerry Weaver
Sent: Thursday, March 18, 2004 3:28 AM
To: netfilter@lists.netfilter.org
Subject: iptables bridge filter question
Hello All,
I have setup a bridging firewall. I want to drop packets on the external
interface, which have source addresses on my internal network. However,
the firewall/bridge sits between my T1 router and the rest of my LAN. Is
there a way to drop the packets mentioned previously, but allow the
router? I guess a rule could be created that uses the routers mac
address as a match. I've been playing around with this, but I'm not
getting the result I want. I could sure use some advice on this.
[ LAN xx.xx.xx.0/24 ]<==>[ bridge/firewall ]<==>[ router xx.xx.xx.254/24
]
Thanks in advance,
Gerry
[-- Attachment #2: Type: text/html, Size: 8651 bytes --]
next reply other threads:[~2004-03-18 15:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 15:02 Steve Jones [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-18 8:28 iptables bridge filter question Gerry Weaver
2004-03-18 15:24 ` Antony Stone
2004-03-18 15:33 ` Antony Stone
2004-03-18 19:28 ` Vincent Haverlant
2004-03-18 20:12 ` Gerry Weaver
2004-03-18 20:40 ` Antony Stone
2004-03-18 23:09 ` Gerry Weaver
2004-03-18 23:16 ` Antony Stone
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=79C037414A4B604CA73F5222570C6DFC800F@e2k3.ftdata.com \
--to=sjones@ftdata.com \
--cc=gerryw@objectivedomain.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox