Ethernet Bridge development
 help / color / mirror / Atom feed
From: Jonathan Thibault <jonathan@navigue.com>
To: bridge@lists.osdl.org
Subject: Re: [Bridge] All Packets Dropped if IPtables are enabled!
Date: Tue, 18 Nov 2008 10:45:44 -0500	[thread overview]
Message-ID: <4922E328.40608@navigue.com> (raw)
In-Reply-To: <BLU149-W269664F47AF1AC405130E48B120@phx.gbl>

You probably have DROP has a default policy for the FORWARD table.

Add rules to FORWARD that lets the traffic you need through the bridge.

For example:
iptables -A FORWARD -s <host1> -d <host2> -j ACCEPT
iptables -A FORWARD -s <host2> -d <host1> -j ACCEPT

Jonthan

Fahim Akhter wrote:
> Hi,
>  
> I have a single bridge, working between two PC's for testing purposes. 
> In rc.local if I stop "service iptables stop", the bridge works fine 
> and both sides are getting pinged.
>  
> But when I enable the IPtables it stops working, I need the iptables 
> for filtering and to use with ebtables, any Ideas ?
>  
> Thanks,
> Fahim Akhter
>
> ------------------------------------------------------------------------
> Invite your mail contacts to join your friends list with Windows Live 
> Spaces. It's easy! Try it! 
> <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge


      reply	other threads:[~2008-11-18 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 10:14 [Bridge] All Packets Dropped if IPtables are enabled! Fahim Akhter
2008-11-18 15:45 ` Jonathan Thibault [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=4922E328.40608@navigue.com \
    --to=jonathan@navigue.com \
    --cc=bridge@lists.osdl.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