All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Frank Myhr <fmyhr@fhmtech.com>
Cc: "Pekka Järvinen" <pekka.jarvinen@gmail.com>, netfilter@vger.kernel.org
Subject: Re: nftables port forward on DHCP interface to static IP
Date: Mon, 19 Apr 2021 23:51:45 +0200	[thread overview]
Message-ID: <20210419215145.GA4841@breakpoint.cc> (raw)
In-Reply-To: <0111b128-5639-7694-3e9a-67452408f71e@fhmtech.com>

Frank Myhr <fmyhr@fhmtech.com> wrote:
> Nitpick: just in my personal opinion, better not to use table name that is a
> nftables keyword ("filter"). I know the wiki does it lots of places. And
> it's not technically wrong. But:

"filter" is not a reserved keyword.

> >         # TCP SYN (CT NEW)
> >         tcp flags & (fin|syn|rst|ack) != syn ct state {new} drop
> 
> You're filtering in a nat chain, generally not a good idea. My understanding
> is that, since nat is based on connection tracking, this chain will see only
> the FIRST packet of each connection.

Correct.

  reply	other threads:[~2021-04-19 21:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 15:59 nftables port forward on DHCP interface to static IP Pekka Järvinen
2021-04-18 19:23 ` Frank Myhr
2021-04-19 17:22   ` Pekka Järvinen
2021-04-19 21:20     ` Frank Myhr
2021-04-19 21:51       ` Florian Westphal [this message]
2021-04-20  1:21         ` Frank Myhr

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=20210419215145.GA4841@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=fmyhr@fhmtech.com \
    --cc=netfilter@vger.kernel.org \
    --cc=pekka.jarvinen@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.