diff --git a/README.md b/README.md index ec353b5..221817c 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,20 @@ Docker container to maintain and update the NAT-PMP/UPnP forwarded port to qBittorrent. -Tested with Gluetun using ProtonVPN (Wireguard) and qBittorrent, it assumes that on the VPN container there's the following rules: - -```console -# cat iptables/post-rules.txt -iptables -A INPUT -i tun0 -s 0.0.0.0/0 -d 0.0.0.0/0 -p tcp --dport 10000:65535 -j ACCEPT -iptables -A INPUT -i tun0 -s 0.0.0.0/0 -d 0.0.0.0/0 -p udp --dport 10000:65535 -j ACCEPT -``` +Tested with Gluetun using ProtonVPN (Wireguard) and qBittorrent. This solution can probably need a few tweaks and error handling, also some work in opening only the needed port on the VPN container. + +In the repo a sample docker-compose.yml can be found. + +The following variables can be set: + +- QBITTORRENT_SERVER (Default: )* +- QBITTORRENT_PORT (Default: 8080) +- QBITTORRENT_USER (Default: admin) +- QBITTORRENT_PASS (Default: adminadmin) +- VPN_CT_NAME (Default: gluetun) +- VPN_IF_NAME (Default: tun0) +- VPN_GATEWAY* (Default: )* +- CHECK_INTERVAL (Default: 300s) +- NAT_LEASE_TIME (Default: 300s)