From b1a8de505b1c5c3ac718fe8ebbbcdc27e131ba67 Mon Sep 17 00:00:00 2001 From: xunuwu Date: Tue, 18 Feb 2025 12:15:25 +0100 Subject: [PATCH] open slsk ports on wireguard --- sys/machines/hopper/lab/default.nix | 4 ++++ sys/machines/nixdesk/wireguard.nix | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/sys/machines/hopper/lab/default.nix b/sys/machines/hopper/lab/default.nix index 26f5ccc..a5f43b1 100644 --- a/sys/machines/hopper/lab/default.nix +++ b/sys/machines/hopper/lab/default.nix @@ -56,6 +56,10 @@ in { port = config.services.slskd.settings.soulseek.listen_port; protocol = "both"; } + { + port = config.services.slskd.settings.soulseek.listen_port + 1; + protocol = "both"; + } { port = config.services.transmission.settings.peer-port; protocol = "both"; diff --git a/sys/machines/nixdesk/wireguard.nix b/sys/machines/nixdesk/wireguard.nix index 3e93bbd..7c1c426 100644 --- a/sys/machines/nixdesk/wireguard.nix +++ b/sys/machines/nixdesk/wireguard.nix @@ -13,7 +13,16 @@ accessibleFrom = ["192.168.0.0/24"]; # Forwarded to my vpn, for making things accessible from outside - openVPNPorts = []; + openVPNPorts = [ + { + port = 14794; + protocol = "both"; + } + { + port = 14795; + protocol = "both"; + } + ]; # From inside of the vpn namespace to outside of it, for making things inside accessible to LAN portMappings = [];