MyNixOS website logo
option

services.prometheus.exporters.script.firewallRules

Specify rules for nftables to add to the input chain when services.prometheus.exporters.script.openFirewall is true.

Declarations
Type
null or strings concatenated with "\n"
Default
null
Example
iifname "eth0" tcp dport 9172 counter accept