networking.nat.externalIP
The public IP address to which packets from the local network are to be rewritten. If this is left empty, the IP address associated with the external interface will be used. Only connections made to this IP address will be forwarded to the internal network when using forwardPorts.
- Type
null or string- Default
null- Example
"203.0.113.123"- Declared
- <nixpkgs/nixos/modules/services/networking/nat.nix>