Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "ONeill Jack" <jackoneill9@yahoo.fr>
To: Cedric Blancher <blancher@cartel-securite.fr>,
	Luca Scattin <luca@atlantenet.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Brigde and Firewall with linux
Date: Thu, 11 Dec 2003 11:14:46 +0100 (CET)	[thread overview]
Message-ID: <20031211101446.16719.qmail@web25207.mail.ukl.yahoo.com> (raw)
In-Reply-To: <1071132494.781.19.camel@elendil.intranet.cartel-securite.net>

 --- Cedric Blancher <blancher@cartel-securite.fr> a
écrit : 
> On 2.6 kernels, output interface will be br0, not
> eth0. So you'll have
> to use physdev match in order to have your rule work
> :
> 	iptables -t nat -A POSTROUTING -m physdev
> --physdev-out eth1 \
> 		-j SNAT --to 192.168.0.21
> 
> I don't know if this behaviour has been backported
> to 2.4 kernels. At
> least, you can try ;)

I thought you could only use the FORWARD CHAIN when
it's a bridge, because a bridge only passes packets
from one interface to another (?)

_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


  reply	other threads:[~2003-12-11 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 11:10 Brigde and Firewall with linux Luca Scattin
2003-12-11  8:48 ` Cedric Blancher
2003-12-11 10:14   ` ONeill Jack [this message]
2003-12-11 10:49     ` Cedric Blancher

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=20031211101446.16719.qmail@web25207.mail.ukl.yahoo.com \
    --to=jackoneill9@yahoo.fr \
    --cc=blancher@cartel-securite.fr \
    --cc=luca@atlantenet.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