networking.firewall.extraForwardRules

NixOS option

Additional nftables rules to be appended to the forward-allow chain. This option only works with the nftables based firewall.

type: strings concatenated with "\n"
Default
""
Example
"iifname wg0 accept"
declared in: nixos/modules/services/networking/firewall-nftables.nixView source on NixOS/nixpkgs →