Nat机部署qbittorrent

发布于 24 天前  44 次阅读


AI 摘要

qbittorrent是一款流行的种子下载工具,本文介绍了如何在Nat机上部署qbittorrent。安装过程使用了一键脚本,只需执行命令即可完成安装。同时,在端口转发方面,使用了8080端口。另外,在配置文件中进行了一些修改,如关闭了WebUI的HostHeaderValidation和CSRFProtection。这些步骤完成后,重新启动qbittorrent服务就可以开始使用了。

安装qbittorrent

采用一键脚本

bash <(wget -qO- https://raw.githubusercontent.com/jerry048/Dedicated-Seedbox/main/Install.sh) <用户名称> <用户密码> <缓存大小(单位:GiB,且为整数)>

端口转发

填入8080

修改配置文件

使用 root 用户登录到服务器;
找到 qbittorrent.conf 文件(如 ~/.config/qBittorrent/qBittorrent.conf )并打开;
[Preferences]中 设置

WebUI\HostHeaderValidation=false
WebUI\CSRFProtection=false

如果没有 WebUI\CSRFProtection 选项,可自行添加;
修改完成后保存并退出;
重新启动 qbittorrent 服务,即可使用