「P2P」- 加入 PT 站点(过程记录)

解决方案

第一步、加入 PT 站点

我们收到朋友邀请,获取到 m-team 站点访问权限;

清影PT CMCT-PT 葡萄 蝴蝶-HUDBT 皇后opencd TTG HD4FANS HDChina m-team HDU HDSKY hdcity hdtime CCFbits hdhome CHDBits ourbits gztown keepfrds 美盒子PT(影客) 北洋园PT 极视望江 joyhd 南洋PT U2动漫花园 资源简介自动生成工具(豆瓣) 发布种子用图床 新ptgen(发种子用) BYR IPT moecat 52pt TCCF filelist pterclub btschool

第二步、部署下载服务

我们使用 qBittorrent 客户端,以 Web 方式运行:

# https://hub.docker.com/r/linuxserver/qbittorrent
---
version: "2.1"
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
    volumes:
      - /path/to/appdata/config:/config
      - /path/to/downloads:/downloads
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped

第三步、登录 Web 界面

The webui is at <your-ip>:8080 and the default username/password is admin/adminadmin.

常见问题处理

Port 6881 is blacklisted.

Error (port 6881 is blacklisted) – Peer to peer – On the internet

问题描述:在 Tracker 中,提示 Port 6881 is blacklisted. 错误,并且无法下载;

原因分析:Many trackers disable port 6881 to avoid ISP scans and throttling.

解决方案:在设置中,修改 Listening Port 参数,然后重新启动下载任务即可;

Bittorrent 为什么不映射 Listening Port 也能上传

How can the torrent protocol function with clients behind a router without port forwarding?

问题描述:当修改 Listening Port 参数后,我们观察到路由器没有 NAT 映射也能够进行上传;

原因分析:部分解释是 uPnP 或 NAT-PMP 使得 Router 自动进行端口映射;

在我们的环境中,我们的 Router 并不支持 uPnP 或 NAT-PMP 协议。查看 Router 的 NAT Session Table 之后,我们猜测是内网节点主动发起连接,然后进行资源上传;

相关工具

PT-Plugin-Plus,https://github.com/pt-plugins/PT-Plugin-Plus
是个浏览器插件,与 PT 相关的工具,能够与现有的下载服务器(诸如 Transmission、Synology Download Station、µTorrent 等等)集成,将下载链接(种子地址)直接发送到下载服务器;

参考文献

qbittorrent/qBittorrent: qBittorrent BitTorrent client
qBittorrent Official Website