MyNixOS website logo
option

networking.firewall.extraInputRules

Additional nftables rules to be appended to the input-allow chain.

This option only works with the nftables based firewall.

Declarations
Type
strings concatenated with "\n"
Default
""
Example
"ip6 saddr { fc00::/7, fe80::/10 } tcp dport 24800 accept"