networking.nat.internalInterfaces
NixOS option
The interfaces for which to perform NAT. Packets coming from these interface and destined for the external interface will be rewritten.
type: list of stringDefault
[ ]
Example
declared in: nixos/modules/services/networking/nat.nixView source on NixOS/nixpkgs →[ "eth0" ]