Skip to content

Snippets

Snippets are meant as method of definig very high-level options, that may be very opinionated and thus not suited for everybody.

Snippets can be enabled individually. They can be definied by third parties, so to circumvent name collisions all snippets defined by this repository are prefixed with nnf-. Please do not use this prefix for any snippets defined by other repositories, though it might be advised you pick your own prefix.

Snippets are considered less stable than the rest of this repository. As they usually are quite opionated, when they get inproved, you might not actually cosider those changes an improvement. Please consider that when using snippets, you can always just copy and modify them for your needs. When updating this repository give it a quick look to see what has changed with the snippets you use.

Option headings abbreviate the common prefix networking.nftables.firewall.snippets. as ....

This snippets enables the firewall and many other snippets. Currently the following ones get enables.

...nnf-default-stopRuleset.allowedTCPPorts

Section titled “...nnf-default-stopRuleset.allowedTCPPorts”