Torrenting over VPN in Docker
I'm a silent reader of LET but currently I got stuck in a problem.
i'd like to use a VPS as a lightweight seedbox over my local router with wireguard.
I made a working tunnel, so on the VPS, I have a wg0 interface with IP 172.20.0.1 and my router is 172.20.0.2.
I'd like use gists/qbittorrent Docker container on Debian to leech and seed torrents over my network. Firstly, I created a lookup table for this task
echo "200 home" >> /etc/iproute2/rt_tables
And I made a default route
ip route add default via 172.20.0.2 dev wg0 0 table home
Finaly, a rule to route the traffic to the tunnel
ip rule add from 172.29.0.0/24 table home priority 200
After that, I created a Docker network that's subnet is 172.29.0.0/24
docker network create --subnet 172.29.0.0/20 home
When I run a Debian container in this network, I can use wget, traceroute and others over my network.
But my problem is, when I start the qBittorrent container, I can't access the webui from my local network. I performed the appropriate LAN rules. When I delete the upper ip rule, I can access the webui, but if this rule exists, Chrome can't load js files from qBittorrent webui.
Have any idea what might be the problem? I'm openminded for any other solution to solve my problem, that is I'd like torrenting only over my VPN tunnel with qBittorrent.