depot/hosts/VEGAS/services/backbone-routing/default.nix

17 lines
255 B
Nix

{ config, ... }:
let
inherit (config.reflection) interfaces;
in
{
imports = [
./port-forward.nix
];
networking.nat = {
enable = true;
externalInterface = interfaces.primary.link;
internalIPs = [
"10.10.0.0/16"
];
};
}