kerrigan: enable NAT

This commit is contained in:
Luke Granger-Brown 2023-10-13 01:40:30 +00:00
parent 266026e698
commit 04260106a1

View file

@ -48,6 +48,13 @@ in
interfaces.eth2.useDHCP = true;
interfaces.enu1u4i10.useDHCP = true;
firewall.interfaces.br0.allowedTCPPorts = [ 80 ];
nat = {
enable = true;
enableIPv6 = true;
internalInterfaces = [ "br0" ];
externalInterface = "enu1u4i10";
dmzHost = "10.42.0.2";
};
};
users.users.lukegb.extraGroups = lib.mkAfter [ "networkmanager" ];
my.systemType = "aarch64-linux";