networking.firewall.trustedInterfaces

Traffic coming in from these interfaces will be accepted unconditionally. Traffic from the loopback (lo) interface will always be accepted.

Type
list of string
Default
[ ]
Example
[
  "enp0s2"
]
Declared
<nixpkgs/nixos/modules/services/networking/firewall.nix>