feat(OVHCloud -> hw-config): Added simple firewall config

Using nftables
This commit is contained in:
GaspardCulis 2024-09-26 10:24:32 +02:00
parent b8345d5e06
commit 9600f18ada

View file

@ -8,4 +8,11 @@
efiSupport = true; efiSupport = true;
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
}; };
# Firewall
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [22 80 443];
};
} }