Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: paul.guijt@gmail.com
Cc: netfilter@vger.kernel.org
Subject: Re: Newbie: IPv6 equivalent of 192.168.178.0/24
Date: Fri, 9 Oct 2020 15:14:39 +0200	[thread overview]
Message-ID: <20201009131439.GE5723@breakpoint.cc> (raw)
In-Reply-To: <021101d69e3a$b2ce88e0$186b9aa0$@gmail.com>

paul.guijt@gmail.com <paul.guijt@gmail.com> wrote:
> I had
> 	add rule  inet filter input ip   saddr 192.168.178.0/24         jump LocalIN
> 	add rule  inet filter input ip6 saddr fe::/10                             jump LocalIN
> to divert all packets coming from my private network to rules in the LocalIN chain. 
> 
> Nftables converts the second line into “ip6 saddr c0::/10 jump LocalIN”. FE into C0. 
> Will that do what I intended? If not, what rule do you prefer? 

Did you mean 'fe00::/10' ?

  reply	other threads:[~2020-10-09 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 12:49 Newbie: IPv6 equivalent of 192.168.178.0/24 paul.guijt
2020-10-09 13:14 ` Florian Westphal [this message]
2020-10-09 13:16 ` Bernd Naumann
2020-10-09 13:20   ` Bernd Naumann
2020-10-10 12:52   ` paul.guijt

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=20201009131439.GE5723@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter@vger.kernel.org \
    --cc=paul.guijt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox