Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jonathan Tripathy <jonnyt@abpni.co.uk>
To: Jan Engelhardt <jengelh@medozas.de>, netfilter@vger.kernel.org
Subject: Re: Force traffic
Date: Sun, 13 Jun 2010 19:17:08 +0100	[thread overview]
Message-ID: <4C1520A4.6060606@abpni.co.uk> (raw)
In-Reply-To: <alpine.LSU.2.01.1006132013330.20055@obet.zrqbmnf.qr>


On 13/06/10 19:15, Jan Engelhardt wrote:
> On Sunday 2010-06-13 19:22, Jonathan Tripathy wrote:
>
>    
>> Hi Everyone,
>>
>> Does anyone know any rules that I could use (using iptable, ebtables,
>> or otherwise) that could force all traffic coming from an interface to
>> go out via a particular interface?
>>      
> For link/ether, you have to specify a target to send to. Just interface
> won't cut it.
>
>    
>> I am lead to believe that in a linux bridge, all frames are sent to all
>> ports (a bit like the old-school hubs), so it could just be a matter of
>> blocking all traffic, except those which are for the firewall
>> interface, using ebtables.
>>      
> btw, a bridge/switch is not a hub/electrical repeater by its very definition.
>    
Is there any way to do what I want to achieve with ebtables then?

  reply	other threads:[~2010-06-13 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13 17:22 Force traffic Jonathan Tripathy
2010-06-13 18:15 ` Jan Engelhardt
2010-06-13 18:17   ` Jonathan Tripathy [this message]
2010-06-14 13:17 ` Federico Alberto Sayd
2010-06-14 19:51   ` Narendra Choyal
2010-06-14 20:15     ` Jan Engelhardt

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=4C1520A4.6060606@abpni.co.uk \
    --to=jonnyt@abpni.co.uk \
    --cc=jengelh@medozas.de \
    --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