Add AllTheMods10 modpack and configure additional server settings

This commit is contained in:
Root User 2026-04-05 23:24:48 +03:00
parent bafafa33e0
commit 497dfe1a6b
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 83 additions and 6 deletions

View file

@ -305,6 +305,9 @@ in {
minecraft = {
address = "[::]:25565";
};
minecraft_modded = {
address = "[::]:25566";
};
# Minecraft Bedrock (default port 19132) - expose both TCP and UDP
minecraft-bedrock-tcp = {address = "[::]:19132";};
@ -663,6 +666,11 @@ in {
{address = "10.1.1.244:25565";}
];
};
minecraft_modded.loadBalancer = {
servers = [
{address = "10.1.1.244:25566";}
];
};
# TCP service for Minecraft Bedrock
minecraft-bedrock-tcp.loadBalancer = {
@ -1041,8 +1049,8 @@ in {
};
# Allow common HTTP/S and control ports,
networking.firewall.allowedTCPPorts = [80 443 10022 30033 8448 9001 3001 993 465 25 25565 24454 2456 2457 2458 26000 1234 3979 2022 19132];
networking.firewall.allowedUDPPorts = [80 443 9987 9001 3001 993 465 25 25565 24454 2022 2456 2457 2458 26000 1234 3979 2022 19132];
networking.firewall.allowedTCPPorts = [80 443 10022 30033 8448 9001 3001 993 465 25 25565 25566 24454 2456 2457 2458 26000 1234 3979 2022 19132];
networking.firewall.allowedUDPPorts = [80 443 9987 9001 3001 993 465 25 25565 25566 24454 2022 2456 2457 2458 26000 1234 3979 2022 19132];
system.stateVersion = "25.11";
};