Make apex host specific to each machine

Allows direct contact via the VPN when accessing from fox, but use
Internet when using the rest of the machines.
This commit is contained in:
Rodrigo Arias 2025-08-29 14:29:14 +02:00
parent fc112b92e6
commit 79f6e0613e
4 changed files with 9 additions and 1 deletions

View File

@ -14,7 +14,7 @@
nftables.enable = lib.mkForce false;
hosts = {
"84.88.53.236" = [ "apex" "ssfhead.bsc.es" "ssfhead" ];
"84.88.53.236" = [ "ssfhead.bsc.es" "ssfhead" ];
"84.88.51.152" = [ "raccoon" ];
"84.88.51.142" = [ "raccoon-ipmi" ];
};

View File

@ -32,4 +32,8 @@
];
};
};
networking.hosts = {
"10.100.0.30" = [ "apex" ];
};
}

View File

@ -39,6 +39,7 @@
};
hosts = {
"10.0.44.4" = [ "tent" ];
"84.88.53.236" = [ "apex" ];
};
};

View File

@ -33,6 +33,9 @@
nameservers = [ "84.88.52.35" "84.88.52.36" ];
search = [ "bsc.es" "ac.upc.edu" ];
defaultGateway = "10.0.44.1";
hosts = {
"84.88.53.236" = [ "apex" ];
};
};
services.p.enable = true;