Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Evan Davies" <evan.davies@gmail.com>
To: netfilter@vger.kernel.org
Subject: Nftables bridge interface redirect to local machine
Date: Wed, 27 Sep 2017 21:11:25 +1000	[thread overview]
Message-ID: <000b01d33781$5dbad2f0$193078d0$@gmail.com> (raw)


Hi Guys,

I'm trying to migrate across to nftables as I like its new features. My
current sent up is:

                                                br0
LAN <------------>  [ens34 bridged ens33] <--------------> ROUTER(Internet)


I would like to redirect any incoming traffic on the LAN side (ens34) of the
bridge interface br0 destined to port 80 to the local web server to
authenticate.
I would like to do this for all DNS requests as well. Basically, use the
bridged Linux box as a transparent gateway.

I have tried the example in the man page but I cannot get it to work.
Any help or pointers would be greatly appreciated.

Kernel Version 4.10.0-35-generic
nftables v0.7

Thanks
Evan




                 reply	other threads:[~2017-09-27 11:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000b01d33781$5dbad2f0$193078d0$@gmail.com' \
    --to=evan.davies@gmail.com \
    --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