MyNixOS website logo
option

services.prometheus.exporters.surfboard.firewallFilter

Specify a filter for iptables to use when services.prometheus.exporters.surfboard.openFirewall is true. It is used as ip46tables -I nixos-fw firewallFilter -j nixos-fw-accept.

Declarations
Type
null or string
Default
null
Example
"-i eth0 -p tcp -m tcp --dport 9239"