It routes traffic from fox, apex and the compute nodes so that we can reach the git servers and tent. Reviewed-by: Aleix Boné <abonerib@bsc.es>
22 lines
364 B
Nix
22 lines
364 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
networking = {
|
|
enableIPv6 = false;
|
|
useDHCP = false;
|
|
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 22 ];
|
|
};
|
|
|
|
# Make sure we use iptables
|
|
nftables.enable = lib.mkForce false;
|
|
|
|
hosts = {
|
|
"84.88.53.236" = [ "ssfhead.bsc.es" "ssfhead" ];
|
|
"84.88.51.142" = [ "raccoon-ipmi" ];
|
|
};
|
|
};
|
|
}
|