2
0
Fork 0

update: add more info to README.md

This commit is contained in:
soxfor 2023-03-16 20:15:13 +00:00
parent 6ebcab8383
commit 9f543c92d5
1 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,12 @@
Docker container to maintain and update the NAT-PMP/UPnP forwarded port to qBittorrent.
Tested with Gluetun using ProtonVPN (Wireguard) and qBittorrent
Tested with Gluetun using ProtonVPN (Wireguard) and qBittorrent, it assumes that on the VPN container there's the following rules:
Can probably need a few tweaks and error handling
```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
```
This solution can probably need a few tweaks and error handling, also some work in opening only the needed port on the VPN container.