Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Marc SCHAEFER <schaefer@alphanet.ch>
To: netfilter@vger.kernel.org
Subject: Re: IP SNAT in a bridge
Date: Fri, 4 Mar 2022 09:10:50 +0100	[thread overview]
Message-ID: <20220304081050.GA2392@alphanet.ch> (raw)
In-Reply-To: <20220303204545.GA6798@alphanet.ch>

Hello,

On Thu, Mar 03, 2022 at 09:45:46PM +0100, Marc SCHAEFER wrote:
> am I right that this has to be done as a -t nat POSTROUTING -j SNAT
> iptables, but that will only work if ebtables forces the packet into
> BROUTE mode first?

I found out that if the br_netfilter module is loaded, it works without
the BROUTE.  I will investigate if there is a way to do it less globally.

  reply	other threads:[~2022-03-04  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 20:45 IP SNAT in a bridge Marc SCHAEFER
2022-03-04  8:10 ` Marc SCHAEFER [this message]
2022-03-04 14:25   ` Marc SCHAEFER

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=20220304081050.GA2392@alphanet.ch \
    --to=schaefer@alphanet.ch \
    --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