networking.firewall.trustedInterfaces
NixOS option
Traffic coming in from these interfaces will be accepted unconditionally. Traffic from the loopback (lo) interface will always be accepted.
type: list of stringDefault
[ ]
Example
declared in: nixos/modules/services/networking/firewall.nixView source on NixOS/nixpkgs →[ "enp0s2" ]