1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

nft: fix missing semicolon (#14834)

Fix missing ; in nft example
This commit is contained in:
claudio.m 2024-11-15 10:21:22 +01:00 committed by GitHub
parent bdb298844c
commit db57a04e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
- Add a new chain to accept all inbound traffic:
`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \}`
`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \; \}`
- Add a new rule to accept several TCP ports: