Common options
Options in networking.nftables.firewall
Section titled “Options in networking.nftables.firewall”...enable
Section titled “...enable”| Name | networking.nftables.firewall.enable |
|---|---|
| Description | Whether to enable the zoned nftables based firewall. |
| Type | boolean |
| Default | false |
| Example | true |
| Declared in |
...localZoneName
Section titled “...localZoneName”| Name | networking.nftables.firewall.localZoneName |
|---|---|
| Description | A zone using this name will be defined that matches the traffic of the
|
| Type | string |
| Default | "fw" |
| Declared in |
Other nftables options
Section titled “Other nftables options”networking.nftables.stopRuleset
Section titled “networking.nftables.stopRuleset”| Name | networking.nftables.stopRuleset |
|---|---|
| Description | The ruleset to be used with nftables. Should be in a format that can be loaded using "/bin/nft -f". The ruleset is only applied, when the unit is stopped. |
| Type | strings concatenated with "\n" |
| Example | Nix |
| Declared in |
networking.nftables.stopRulesetFile
Section titled “networking.nftables.stopRulesetFile”| Name | networking.nftables.stopRulesetFile |
|---|---|
| Description | The ruleset file to be used with nftables. Should be in a format that can be loaded using "nft -f". The ruleset is only applied, when the unit is stopped. |
| Type | absolute path |
| Default | Nix |
| Declared in |