2
0
Fork 0
No description
This repository has been archived on 2025-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-03-18 01:49:59 +00:00
.github/workflows Update docker-image.yml 2023-03-17 00:50:40 +00:00
data update: data/start.sh - validate if variables are defined and remove/add iptables rule to vpn container 2023-03-18 01:19:34 +00:00
docker-compose.yml update: docker-compose.yml - '' not needed 2023-03-18 01:49:59 +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

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.