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