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 string
Default
[ ]
Example
[
  "192.168.1.0/24"
]
declared in: nixos/modules/services/networking/nat.nixView source on NixOS/nixpkgs →