summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-03-28 00:38:20 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-03-28 00:38:20 -0600
commit3dc828a8ed3809ea373245696e44f23ad15cd958 (patch)
tree1e021f6f9bdace81d7d6317980151381dadd57f4 /machines
parent9323d519dc0212cb2235449a028e56d870a3361f (diff)
added a second minecraft server
Diffstat (limited to 'machines')
-rw-r--r--machines/biski/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/machines/biski/default.nix b/machines/biski/default.nix
index 594957a..d4b33b8 100644
--- a/machines/biski/default.nix
+++ b/machines/biski/default.nix
@@ -123,7 +123,7 @@
};
# Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [ 25565 ];
+ networking.firewall.allowedTCPPorts = [ 25565 25567];
networking.firewall.allowedUDPPorts = [ 10514 ];
networking.nftables = {
enable = true;
@@ -140,11 +140,18 @@
enable = true;
internalInterfaces = [ "eno1" ];
externalInterface = "tailscale0";
- forwardPorts = [{
+ forwardPorts = [
+ {
sourcePort = 25565;
proto = "tcp";
destination = "100.64.0.2:25565";
- }];
+ }
+ {
+ sourcePort = 25567;
+ proto = "tcp";
+ destination = "100.64.0.2:25567";
+ }
+ ];
};
# Or disable the firewall altogether.