2
0
Fork 0
Go to file
soxfor 19659a2a1b update: Dockerfile - new vars include docker cli
- new: vars VPN_CT_NAME and VPN_IF_NAME, used while managing iptables rules for the listen port of qBittorrent
- new: include docker client binary in image to connect to vpn container
2023-03-18 01:17:34 +00:00
.github/workflows Update docker-image.yml 2023-03-17 00:50:40 +00:00
data update: add more checks and decrease NAT lease lifetime to equal default sleep time 2023-03-17 00:11:22 +00:00
Dockerfile update: Dockerfile - new vars include docker cli 2023-03-18 01:17:34 +00:00
README.md update: add more info to README.md 2023-03-16 20:15:13 +00:00

README.md

qbittorrent-natmap

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:

# 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

This solution can probably need a few tweaks and error handling, also some work in opening only the needed port on the VPN container.