Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - slskd

Featured Replies

On 2/11/2026 at 8:25 PM, binhex said:

First thought, are you trying to run slskd inside of the same gluetun container network as deluge?, if so that will not work, you cannot have multiple applications sharing a single incoming port, instead you will need to create another glutun container specifically for slskd, i do exactly this, this is what i currently have setup:

{CBD871EA-7987-4028-AAD2-CECEE6E8323A}.png

So as you can see i have three containers running,

  • gluetun-generic - for all the containers that do not require an incoming port, which is the vast majority of containers, e.g. sonarr, radarr, jackett, prowlarr, etc

  • gluetun-soulseek - as the name inplies this is specifically for soulseek containers, such as nicotine+ and slskd, do note though again you cannot run both nicotine+ and slskd in the same gluetun container network

  • gluetun-bittorrent - again im pretty sure you can guess what this is used for, again i can only run a single bittorrent client in this gluetun container network, running deluge and qbittorrent would not wok.

The golden rule - You need 1 gluetun container for each application that requires an incoming port.

p.s. I could slim this down to just two, bittorrent and soulseek and lump the containers that only require outbound (generic) into either one, but i prefer the separation and PIA are relatively generous with their concurrent connections.

Hi binhex

Gluetun does currently have an option to request multiple ports, for supported services. For instance ProtonVPN can have up to 5 incoming ports per connection (set VPN_PORT_FORWARDING_PORTS_COUNT=5 in gluetun).

image.png

I was able to test this works on existing containers by modifying one of the portset scripts to use .ports[1] instead of .port, and had both qbittorrent and slskd sharing one gluetun container.

There were a few issues however:

  1. None of the containers will natively check other ports, they all just check "port" so only try for the first one. There would need to be an option to pick the port index you want it to use, as detecting used ports automatically probably isn't reliable.

  2. If one of the containers detect a port is externally inaccessible they restart the VPN, causing all the other containers to drop out. Obviously this is correct with the assumption that there is only one port, and anyway if one port is dead the others may be too. The issue for if this was to become a supported feature is more around all the containers fighting to restart the VPN at different times causing VPN restart loops. Eventually they calmed down once they got in sync (although I was only testing 2 containers here) and it seemed to stay stable for at least the few hours it was running.
    A solution may just be to make the timing looser so they aren't all trying to restart as quickly, to give one restart time to finish. Ideally gluetun would centrally manage the healthcheck and connecting containers wouldn't worry about it, but they would need a way to register/deregister the ports they are using so gluetun knows which ones to check are still up.

The second issue really is the kicker, and may make it not worth it to support as a feature, vs using separate containers that aren't that difficult to setup nor use much resources.

The only real advantage is enabling more connections. ProtonVPN is limited to 10 connections, so you'd have to use half of them if you have 5 containers that need incoming connections, vs only a single connection with 5 incoming ports.

When I was playing around with this I did run into a minor existing bug: The port check for slskd is too early. It will check if the VPN port is up before slskd has started listening to it, always triggering a unnecessary VPN restart. qbittorrent doesn't seem to check the port externally as part of its startup, instead waiting 60 seconds for the first check and so doesn't have this issue. See the logs below where I have highlighted the important lines. For slskd I modified external_verify_incoming_port in the portset script to always return 0 for the external check, so even though the log says the port is inaccessible it continues starting up and successfully listens on that port making the subsequent check succeed, proving the check is too early.

slskd.log

2026-11-22 14:41:41,831 DEBG 'start-script' stdout output:

[INFO] Running portset.sh v1.0.0 - created by binhex.

2026-11-22 14:41:41,842 DEBG 'start-script' stdout output:

[INFO] Health checking gluetun Control Server API connectivity...

2026-11-22 14:41:41,866 DEBG 'start-script' stdout output:

{"status":"running"}

2026-11-22 14:41:41,867 DEBG 'start-script' stderr output:

[info] Retrieving incoming port from gluetun API...

2026-11-22 14:41:41,902 DEBG 'start-script' stderr output:

[info] Retrieved forwarded port '39544' from gluetun API

2026-11-22 14:41:41,959 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 14:41:41,968 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter IP address...

2026-11-22 14:41:41,977 DEBG 'start-script' stdout output:

[INFO] Configuring 'slskd' app parameters with VPN incoming port '39544'

2026-11-22 14:41:41,979 DEBG 'start-script' stdout output:

[INFO] Starting 'slskd' with VPN incoming port '39544'...

[INFO] Starting single process: /opt/slskd/slskd [redacted]

2026-11-22 14:41:41,980 DEBG 'start-script' stdout output:

[INFO] Health checking gluetun Control Server API connectivity...

2026-11-22 14:41:42,003 DEBG 'start-script' stdout output:

{"status":"running"}

2026-11-22 14:41:42,003 DEBG 'start-script' stderr output:

[info] Retrieving incoming port from gluetun API...

2026-11-22 14:41:42,038 DEBG 'start-script' stderr output:

[info] Retrieved forwarded port '39544' from gluetun API

2026-11-22 14:41:42,096 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 14:41:42,105 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter IP address...

2026-11-22 14:41:43,044 DEBG 'start-script' stdout output:

[WARN] External verification: Incoming port '39544' is NOT reachable. <-- Script edited to continue anyway instead of restarting VPN

2026-11-22 14:41:43,045 DEBG 'start-script' stdout output:

[INFO] Sleeping for 60 seconds before re-checking port assignment...

2026-11-22 14:41:43,347 DEBG 'start-script' stdout output:


▄▄▄▄ ▄▄▄▄ ▄▄▄▄
▄▄▄▄▄▄▄ █ █ ▄▄▄▄▄▄▄ █ █▄▄▄ ▄▄▄█ █
█__ --█ █ █ █__ --█ █ ◄█ █ - █
█▄▄▄▄▄█ █▄▄█ █▄▄▄▄▄█ █▄▄█▄▄█ █▄▄▄▄▄█
┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
│ This program is free software: you can redistribute it and/or modify
│ it under the terms of the GNU Affero General Public License as published
│ by the Free Software Foundation, version 3.
│ └─▸ SPDX: AGPL-3.0-only
│
│ This program is distributed with Additional Terms pursuant to Section 7
│ of the AGPLv3. See the LICENSE file in the root directory of this
│ project for the complete terms and conditions.
│
│ 🌐 https://slskd.org
│ 🐱 https://github.com/slskd/slskd
│
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
│ 0.26.2.0 (0.26.2.0+e472ecd7)
╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈

2026-11-22 14:41:43,411 DEBG 'start-script' stdout output:
[
2026-11-22 14:41:43,415 DEBG 'start-script' stdout output:
14:41:43
2026-11-22 14:41:43,433 DEBG 'start-script' stdout output:
INF]
2026-11-22 14:41:43,436 DEBG 'start-script' stdout output:
Version:
2026-11-22 14:41:43,438 DEBG 'start-script' stdout output:
0.26.2.0 (0.26.2.0+e472ecd7)
2026-11-22 14:41:43,439 DEBG 'start-script' stdout output:


2026-11-22 14:41:43,463 DEBG 'start-script' stdout output:
[14:41:43 INF] System: .NET 10.0.13, Unix 6.18.60.0,
2026-11-22 14:41:43,466 DEBG 'start-script' stdout output:
64 bit,
2026-11-22 14:41:43,467 DEBG 'start-script' stdout output:
40 processors

2026-11-22 14:41:43,467 DEBG 'start-script' stdout output:
[14:41:43 INF
2026-11-22 14:41:43,468 DEBG 'start-script' stdout output:
] Process ID: 200 (64 bit)

2026-11-22 14:41:43,469 DEBG 'start-script' stdout output:
[14:41:43 INF] Invocation ID:
2026-11-22 14:41:43,469 DEBG 'start-script' stdout output:

[14:41:43 INF] Instance Name: default

2026-11-22 14:41:43,470 DEBG 'start-script' stdout output:
[14:41:43 INF] Configuring application...
2026-11-22 14:41:43,471 DEBG 'start-script' stdout output:

2026-11-22 14:41:43,482 DEBG 'start-script' stdout output:

[14:41:43 INF] Using application directory /config/slskd

2026-11-22 14:41:43,482 DEBG 'start-script' stdout output:

[14:41:43 INF] Using configuration file /config/slskd/slskd.yml

[14:41:43 INF] Storing application data in /config/slskd/data

[14:41:43 INF] Saving application logs to /config/slskd/logs

2026-11-22 14:41:48,328 DEBG 'start-script' stdout output:

[14:41:48 INF] Listening for HTTP requests at http://:::5030/

2026-11-22 14:41:48,329 DEBG 'start-script' stdout output:

[14:41:48 INF] Listening for HTTPS requests at https://:::8990/

2026-11-22 14:41:48,330 DEBG 'start-script' stdout output:

[14:41:48 INF] Using randomly generated self-signed certificate

2026-11-22 14:41:48,527 DEBG 'start-script' stdout output:

[14:41:48 INF] Databases are up to date!

2026-11-22 14:41:48,536 DEBG 'start-script' stdout output:

[14:41:48 WRN] Unable to determine default script executable ($SHELL is missing or blank); any user-defined scripts that do not specify an executable will fail

2026-11-22 14:41:48,537 DEBG 'start-script' stdout output:

[14:41:48 INF] Set default script executable to 'null'

2026-11-22 14:41:48,583 DEBG 'start-script' stdout output:

[14:41:48 INF] Using base url /

2026-11-22 14:41:48,584 DEBG 'start-script' stdout output:

[14:41:48 INF] Serving static content from /opt/slskd/wwwroot

2026-11-22 14:41:48,792 DEBG 'start-script' stdout output:

[14:41:48 INF] Configuration complete. Starting application...

2026-11-22 14:41:48,881 DEBG 'start-script' stdout output:

[14:41:48 INF] Blacklist disabled

2026-11-22 14:41:48,989 DEBG 'start-script' stdout output:

[14:41:48 INF] Application started

2026-11-22 14:41:49,706 DEBG 'start-script' stdout output:

[14:41:49 INF] Options reconfigured successfully

2026-11-22 14:41:49,706 DEBG 'start-script' stdout output:

[14:41:49 INF] Listening for incoming connections on 0.0.0.0:39544

2026-11-22 14:41:49,707 DEBG 'start-script' stdout output:

[14:41:49 INF] Checking GitHub Releases for latest version

2026-11-22 14:41:49,726 DEBG 'start-script' stdout output:

[14:41:49 INF] Initializing shares

2026-11-22 14:41:49,743 DEBG 'start-script' stdout output:

[14:41:49 INF] Share cache StorageMode is 'Memory'. Attempting to load from backup...

2026-11-22 14:41:49,751 DEBG 'start-script' stdout output:

[14:41:49 INF] Share cache backup validated. Attempting to restore...

2026-11-22 14:41:49,778 DEBG 'start-script' stdout output:

[14:41:49 INF] Share cache successfully restored from backup

2026-11-22 14:41:49,919 DEBG 'start-script' stdout output:

[14:41:49 INF] Share cache loaded from disk successfully. Sharing 380 directories and 1197 files

2026-11-22 14:41:50,425 DEBG 'start-script' stdout output:

[14:41:50 INF] Warming browse response cache...

2026-11-22 14:41:50,494 DEBG 'start-script' stdout output:

[14:41:50 INF] Starting system clock...

2026-11-22 14:41:50,497 DEBG 'start-script' stdout output:

[14:41:50 INF] Browse response cached successfully in

2026-11-22 14:41:50,497 DEBG 'start-script' stdout output:

566ms

2026-11-22 14:41:50,512 DEBG 'start-script' stdout output:

[14:41:50 INF] System clock started

2026-11-22 14:41:50,526 DEBG 'start-script' stdout output:

[14:41:50 INF] Attempting to connect to the Soulseek server...

2026-11-22 14:41:50,755 DEBG 'start-script' stdout output:

[14:41:50 INF] Connected to the Soulseek server

2026-11-22 14:41:50,978 DEBG 'start-script' stdout output:

[14:41:50 INF] Version 0.26.2.0 is up to date.

2026-11-22 14:41:51,876 DEBG 'start-script' stdout output:

[14:41:51 INF] Logged in to the Soulseek server as

2026-11-22 14:42:43,049 DEBG 'start-script' stdout output:

[INFO] Health checking gluetun Control Server API connectivity...

2026-11-22 14:42:43,074 DEBG 'start-script' stdout output:

{"status":"running"}

2026-11-22 14:42:43,075 DEBG 'start-script' stderr output:

[info] Retrieving incoming port from gluetun API...

2026-11-22 14:42:43,111 DEBG 'start-script' stderr output:

[info] Retrieved forwarded port '39544' from gluetun API

2026-11-22 14:42:43,170 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 14:42:43,179 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter IP address...

2026-11-22 14:42:44,097 DEBG 'start-script' stdout output:

[INFO] External verification: Incoming port '39544' is reachable.

qbittorrent.log

2026-11-22 15:53:22,193 DEBG 'start-script' stdout output:

[INFO] Running portset.sh v1.0.0 - created by binhex.

2026-11-22 15:53:22,215 DEBG 'start-script' stdout output:

[INFO] No interrupted VPN restart recorded, leaving VPN state untouched

[INFO] Health checking gluetun Control Server API connectivity...

2026-11-22 15:53:22,239 DEBG 'start-script' stdout output:

{"status":"running"}

2026-11-22 15:53:22,240 DEBG 'start-script' stderr output:

[info] Retrieving incoming port from gluetun API...

2026-11-22 15:53:22,276 DEBG 'start-script' stderr output:

[info] Retrieved forwarded port '49574' from gluetun API

2026-11-22 15:53:22,336 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 15:53:22,345 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter IP address...

2026-11-22 15:53:22,398 DEBG 'start-script' stdout output:

[info] Using QBITTORRENT_WEBUI_PASSWORD from env var for API authentication

2026-11-22 15:53:22,399 DEBG 'start-script' stdout output:

[INFO] Starting 'qbittorrent' with VPN incoming port '49574'...

[INFO] Starting single process: /usr/bin/qbittorrent-nox --webui-port=8080 --profile=/config

2026-11-22 15:53:22,399 DEBG 'start-script' stdout output:

[INFO] Waiting for port 8080 to be listening...

2026-11-22 15:53:22,412 DEBG 'start-script' stdout output:

[DEBUG] Port 8080 not yet listening, waiting...

2026-11-22 15:53:22,797 DEBG 'start-script' stdout output:

WebUI will be started shortly after internal preparations. Please wait...

2026-11-22 15:53:23,427 DEBG 'start-script' stdout output:

[DEBUG] Port 8080 not yet listening, waiting...

2026-11-22 15:53:24,016 DEBG 'start-script' stdout output:

******** Information ********

To control qBittorrent, access the WebUI at: http://localhost:8080

2026-11-22 15:53:24,446 DEBG 'start-script' stderr output:

Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!

2026-11-22 15:53:24,461 DEBG 'start-script' stderr output:

Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!

2026-11-22 15:53:24,624 DEBG 'start-script' stdout output:

[INFO] Port 8080 is now listening

2026-11-22 15:53:24,686 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 15:53:24,913 DEBG 'start-script' stdout output:

2026-11-22 15:53:24,913 DEBG 'start-script' stdout output:

[INFO] Sleeping for 60 seconds before re-checking port assignment...

2026-11-22 15:54:24,917 DEBG 'start-script' stdout output:

[INFO] Health checking gluetun Control Server API connectivity...

2026-11-22 15:54:24,942 DEBG 'start-script' stdout output:

{"status":"running"}

2026-11-22 15:54:24,943 DEBG 'start-script' stderr output:

[info] Retrieving incoming port from gluetun API...

2026-11-22 15:54:24,978 DEBG 'start-script' stderr output:

[info] Retrieved forwarded port '49574' from gluetun API

2026-11-22 15:54:25,037 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter name...

2026-11-22 15:54:25,045 DEBG 'start-script' stderr output:

[info] Identifying VPN adapter IP address...

2026-11-22 15:54:26,027 DEBG 'start-script' stdout output:

[INFO] External verification: Incoming port '49574' is reachable.

Thanks for all your work on these containers. :)

  • Replies 52
  • Views 16.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • thank you so much I started using it and its amazing

  • Ive spotted your issue, this is it: So what's wrong with that you might ask, well the paths specified here must be container paths NOT host paths, so for example (these are examples tailor to what yo

  • Thank you so much! That did it.

Posted Images

  • Author
3 hours ago, Majr said:

For instance ProtonVPN can have up to 5 incoming ports per connection

I did not know that!, that's kinda cool!, mind you i don't have a ProtonVPN subscription at the moment, still on PIA for now.

Now whilst that is cool i see one big issue (aside from your other issues) and that is that having multiple applications that are I/O heavy, such as slskd and a torrent client is going to cause a bottleneck forthe single VPN connection, imagine you had multiple torrents downloading and multiple tracks downloading from multiple peers, that is a lot of I/O for a single VPN connection, there is a finite speed you will get with a single connection and typically that is not equal to your ISP's connection speed (maybe half or less), and whilst speed isn't everything it is nice to be able to download as fast as possible, what are your thoughts on that?.

For me i have 3 gluetun containers running all the time and this serves me well:

- gluetun-bittorrent - used for a single bittorrent client
- gluetun-soulseek - used for a single soulseek client
- gluetun-generic - used for all the other low I/O applications that do not require an incoming port

I cannot forsee me needing another gluetun container unless i have a need for another application that requires an incoming port and/or is heavy I/O.

Yeah I wasn't too worried about performance. I'm going for a just work consistently sort of deployment vs the highest performance, and I'm only using 3 connections. Which is why I ended up going for separate containers too. Just figured I'd mention it for if anyone was running out of connections on a supported service (or maybe a service with very limited connections but much less limited ports?), or really really wanted a single container solution.

I mainly posted to mention the bug since it bothered me enough while I was playing around.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.