Replies: 1 comment 3 replies
-
I think the things you've specified cover HTTP and WebRTC trackers. You might want to set ListenHost to ensure connections are dialed out from the correct network interface. I'm not sure that's sufficient, but you can override the dialers with torrent.Dialer to get exactly the behaviour you want. I think you also need TrackerListenPacket for UDP trackers, setting it to the correct network host again. DHT should work through wireguard (passive mode because you don't have port forwarding) if you have the correct UDP host as above. When you have the client running, maybe check that all the connections you're seeing from the process using anacrolix/torrent have local IPs as you'd expect. I'm assuming when you embed wireguard-go that you an extra network interface and so the above is necessary. |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able route everything through wireguard-go and have a single container running my vpn and torrent client.
Here is the ClientConfig I've tested, with the tnet.DialContext coming from wireguard-go.
I tried the torrent leak test at https://ipleak.net/ and only the VPN IP shows. Is it that simple or am I missing something? Also I'm using Mullvad so no port forwarding support.
Beta Was this translation helpful? Give feedback.
All reactions