summaryrefslogtreecommitdiff
path: root/machines/biski
diff options
context:
space:
mode:
Diffstat (limited to 'machines/biski')
-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.