networking.nat.internalIPs
NixOS option
The IP address ranges for which to perform NAT. Packets coming from these addresses (on any 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 →[ "192.168.1.0/24" ]