2024-07-16 15:06:08 +03:00
|
|
|
{ config, ... }:
|
2021-10-16 21:18:53 +03:00
|
|
|
let
|
2024-07-16 15:06:08 +03:00
|
|
|
inherit (config.reflection) interfaces;
|
2021-10-16 21:18:53 +03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./port-forward.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.nat = {
|
|
|
|
enable = true;
|
|
|
|
externalInterface = interfaces.primary.link;
|
|
|
|
internalIPs = [
|
|
|
|
"10.10.0.0/16"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|