qBittorrent-Auto-Port-Forward

qBittorrent-Auto-Port-Forward

Docker 应用程序 from Exes' Repository

概述

Set qBittorrent's forwarded port by reading the port number from a file. Useful if you your qBittorrent container is bound to a VPN client and your VPN client outputs the forwarded port to a file. ### Made for use with docker-wireguard-pia: - **Environment variable:** `PORT_FORWARDING=1` - **Environment variable:** `PORT_PERSIST=1` - **Environment variable:** `PORT_FILE=/pia/forwarded_port.txt` - **Volume:** `/my/host/dir:/pia:rw` ### Or for use with gluetun: - **Environment variable:** `PRIVATE_INTERNET_ACCESS_VPN_PORT_FORWARDING=on` - **Environment variable:** `PRIVATE_INTERNET_ACCESS_VPN_PORT_FORWARDING_STATUS_FILE=/gluetun/forwarded_port.txt` - **Volume:** `/my/host/dir:/gluetun:rw`

运行时参数

网络
bridge
外壳
sh
特权
false
额外参数
--restart unless-stopped

模板配置

Port Forwarding FilePathro

Container path to the file containing the forwarded port number. The container path must be /config/forwarded_port.txt, but you can use other file types.

目标
/config/forwarded_port.txt
默认值
/config/forwarded_port.txt
QBT_USERNAMEVariable

qBittorrent username.

默认值
admin
QBT_PASSWORDVariable

qBittorrent password.

默认值
adminadmin
QBT_ADDRVariable

HTTP URL for the qBittorrent web UI, with port.

默认值
http://localhost:8080
PORT_FILEVariable

Container path to the file containing the forwarded port number. The container path must be /config/forwarded_port.txt, but you can use other file types.

默认值
/config/forwarded_port.txt
价值
/config/forwarded_port.txt

下载统计数据

125,669
下载总数
9,383
本月
8,463
平均每月

长期下载总量

加载图表...

详细信息

存储库
charlocharlie/qbittorrent-port-forward-file
最后更新2025-12-06
初见2025-03-14

在Unraid 上运行 qBittorrent-Auto-Port-Forward 。

qBittorrent-Auto-Port-Forward 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。