wiki documentation error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?  ----------------------------------



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux