netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Deegan <michael@deegan.id.au>
To: netfilter@vger.kernel.org
Subject: wiki documentation error
Date: Sun, 25 Jun 2023 14:45:21 +0800	[thread overview]
Message-ID: <ZJfigQmqgt3X5pnW@deegan.id.au> (raw)

Hello,

(please CC me on replies, I'm not subscribed)

It looks like I'm the first to attempt cutting and pasting the ruleset from
https://wiki.nftables.org/wiki-nftables/index.php?title=Simple_ruleset_for_a_home_router,
as it...doesn't work. :P

The main problem is this line:

   ip protocol . th dport vmap { tcp . 22 : accept, udp . 53 : accept, tcp . 53 : accept, udp . 67 : accept}

I worked out that there are far too many spaces in the line (for one thing
it looks like you can never have a space before a colon), but I have yet to
work out what was intended by "ip protocol . th dport".

-MD (attempting to make the iptables to nftables transition)

-- 
-----------------------------------------------------------------------------
Michael Deegan               Hugaholic              https://www.deegan.id.au/
------------------------  Jung, zr jbeel?  ----------------------------------

             reply	other threads:[~2023-06-25  6:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-25  6:45 Michael Deegan [this message]
2023-06-25 21:04 ` wiki documentation error Kerin Millar
2023-06-25 21:50   ` Eric
2023-06-26  0:51     ` wiki documentation error (derp, false alarm...) Michael Deegan
2023-06-26  1:08       ` Kerin Millar

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=ZJfigQmqgt3X5pnW@deegan.id.au \
    --to=michael@deegan.id.au \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).