infra/vars.nix
2024-06-01 13:22:49 +02:00

18 lines
408 B
Nix

{
ovenNat = {
oven = { address = "10.0.42.1"; prefixLength = 24; };
pastila = { address = "10.0.42.100"; prefixLength = 24; };
# ports to open on pastila and forward through the NAT in oven
forwardPorts = [
{ num = 80; proto = "tcp"; }
{ num = 443; proto = "tcp"; }
{ num = 22; proto = "tcp"; }
];
};
onlineNetDNS = [
"51.159.47.28"
"51.159.47.26"
];
}