fix: move IB network to 10.1.6.0/24 (get it? :)

This commit is contained in:
2025-09-13 07:10:25 +02:00
parent 3af5ba3fbd
commit 33a14d1509
4 changed files with 10 additions and 10 deletions

View File

@@ -105,7 +105,7 @@ let
extraHosts = import ./hosts.nix;
firewall.extraCommands = ''
iptables -I INPUT -s 172.16.239.0/24 -j ACCEPT
iptables -I INPUT -s 172.16.240.0/24 -j ACCEPT
iptables -I INPUT -s 10.1.6.0/24 -j ACCEPT
'';
};
@@ -239,19 +239,19 @@ let
programs.ssh.knownHosts = {
rossby-manage = {
hostNames = [
"manage" "manage.compute.local" "rossby-manage.oceanbox.io" "172.16.239.221" "172.16.240.221"
"manage" "manage.compute.local" "rossby-manage.oceanbox.io" "172.16.239.221" "10.1.6.221"
];
publicKeyFile = ./manage/ssh_host_key.pub;
};
rossby-login = {
hostNames = [
"rossby" "rossby-login" "rossby-login.compute.local" "rossby.compute.local" "rossby.oceanbox.io" "172.16.239.222" "172.16.240.222"
"rossby" "rossby-login" "rossby-login.compute.local" "rossby.compute.local" "rossby.oceanbox.io" "172.16.239.222" "10.1.6.222"
];
publicKeyFile = ./login/ssh_host_key.pub;
};
fs-work = {
hostNames = [
"fs-work" "fs-work.compute.local" "172.16.239.201" "172.16.240.210"
"fs-work" "fs-work.compute.local" "172.16.239.201" "10.1.6.210"
];
publicKeyFile = ./fs-work/ssh_host_key.pub;
};
@@ -263,7 +263,7 @@ let
"${x.name}"
"${x.name}.compute.local"
"172.16.239.${n}"
"172.16.240.${n}"
"10.1.6.${n}"
];
publicKeyFile = x.pubkey;
};