From: <paul.guijt@gmail.com>
To: netfilter@vger.kernel.org
Subject: Newbie: IPv6 equivalent of 192.168.178.0/24
Date: Fri, 9 Oct 2020 14:49:59 +0200 [thread overview]
Message-ID: <021101d69e3a$b2ce88e0$186b9aa0$@gmail.com> (raw)
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?
Regards,
Paul Guijt
next reply other threads:[~2020-10-09 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 12:49 paul.guijt [this message]
2020-10-09 13:14 ` Newbie: IPv6 equivalent of 192.168.178.0/24 Florian Westphal
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='021101d69e3a$b2ce88e0$186b9aa0$@gmail.com' \
--to=paul.guijt@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