From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: Beginner Question on restricting traffic within the same subnet.
Date: Mon, 02 Nov 2009 16:51:31 +0100 [thread overview]
Message-ID: <4AEF0003.5060404@plouf.fr.eu.org> (raw)
In-Reply-To: <ac5c74140911020721i5edef35el911d700a6017f7eb@mail.gmail.com>
Hello,
paddy joesoap a écrit :
>
> Normally I think of firewalls as controlling packet flows that pass
> through it (for example:Internet to Intranet).
>
> Can netfilter also control traffic on the same subnet?
Yes, if the traffic passes through it. This can be done by setting up a
filtering bridge using bridge-nf : the IP packets in bridged ethernet
frames will be filtered by iptables rules.
> Suppose I had the following set up:
> Internal Machines 1,2 and 3 are on the same subnet governed by the
> netfilter firewall.
>
> ---------- Machine1
> Internet ------ Netfilter Firewall ---------- Machine2
> ---------- Machine3
Does the Firewall bridge Machine1-3 together (and thus have a separate
ethernet interface for each one) or is there an ethernet switch between
them ? A switch won't pass the traffic between Machine1-3 to the Firewall.
next prev parent reply other threads:[~2009-11-02 15:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-02 15:21 Beginner Question on restricting traffic within the same subnet paddy joesoap
2009-11-02 15:51 ` Pascal Hambourg [this message]
2009-11-02 17:02 ` paddy joesoap
2009-11-02 21:25 ` Pascal Hambourg
2009-11-02 21:58 ` paddy joesoap
2009-11-02 22:23 ` Pascal Hambourg
2009-11-02 22:38 ` paddy joesoap
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=4AEF0003.5060404@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--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.