summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lass/2configs/minecraft.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/lass/2configs/minecraft.nix b/lass/2configs/minecraft.nix
index 34da3047e..285a4552c 100644
--- a/lass/2configs/minecraft.nix
+++ b/lass/2configs/minecraft.nix
@@ -8,8 +8,6 @@ in {
eula = true;
package = unstable.minecraft-server;
};
- krebs.iptables.tables.filter.INPUT.rules = [
- { predicate = "-p tcp --dport 25565"; target = "ACCEPT"; }
- { predicate = "-p udp --dport 25565"; target = "ACCEPT"; }
- ];
+ networking.firewall.allowedTCPPorts = [ 25565 ];
+ networking.firewall.allowedUDPPorts = [ 25565 ];
}