Open ports for domains

This commit is contained in:
thiloho
2023-07-29 22:59:36 +02:00
parent b88cce4c01
commit b04f9c16f8

View File

@@ -6,7 +6,13 @@
../shared.nix ../shared.nix
]; ];
networking.hostName = "server"; networking = {
hostname = "server";
firewall = {
allowedTCPPorts = [ 80 443 25565 ];
allowedUDPPorts = [ 80 443 25565 ];
};
};
services = { services = {
minecraft-server = { minecraft-server = {