This commit is contained in:
Noa Aarts 2024-06-28 18:40:14 +02:00
parent 44e881c685
commit 45211d88b2

View file

@ -122,8 +122,18 @@
}; };
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 22 25565 25575 38281 ]; networking.firewall.allowedTCPPorts = [
networking.firewall.allowedUDPPorts = [ 22 25565 25575 38281 ]; 22 # ssh
25565 25575 # minecraft
38281 # archipelago
34197 27015 # factorio
];
networking.firewall.allowedUDPPorts = [
22 # ssh
25565 25575 # minecraft
38281 # archipelago
34197 27015 # factorio
];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;