Skip to content

Instantly share code, notes, and snippets.

@gf09
gf09 / rsyncd.socket
Created May 24, 2025 08:44 — forked from tchollingsworth/rsyncd.socket
rsyncd systemd units
[Unit]
Description=rsyncd Service Sockets
[Socket]
ListenStream=873
Accept=yes
[Install]
WantedBy=sockets.target
@gf09
gf09 / rsyncd.socket
Created May 24, 2025 08:44 — forked from tchollingsworth/rsyncd.socket
rsyncd systemd units
[Unit]
Description=rsyncd Service Sockets
[Socket]
ListenStream=873
Accept=yes
[Install]
WantedBy=sockets.target

qBittorrent Forwarded Port Tool

This script is used to update the qBittorrent listening port based on the current forwarded port pulled from the VPN container.
It has been tested with https://github.com/linuxserver/docker-qbittorrent and https://github.com/qdm12/gluetun. If your VPN container provides a different API for accessing the forwarded port, the class VpnControlServerApi would need to be updated to handle that API instead.

Configuration

  1. Update _TORRENT_HOST and _TORRENT_PORT to match the host and port of the qBittorrent web user interface