mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 16:59:26 +00:00
Update cheatsheets
This commit is contained in:
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user