Ticket #899 (new defect)

Opened 5 years ago

Binding rtorrent to a tunnel ip prevents it from connecting to trackers.

Reported by: anonymous Owned by: rakshasa
Priority: low Component: rtorrent
Version: Severity: normal
Keywords: bind bencoded tracker Cc: toruvinn@lain.pl

Description

Well, since I'm behind a NAT, I've created an openvpn tunnel to one of my remote hosts. I thought it would help outside clients to connect to rtorrent running on my host. The problem is, setting "bind" option to the tunnel interface IP address prevents rtorrent from actually connecting (to trackers, didn't try re-setting "bind" to tunnel ip after successfully fetching some peer data from tracker). rtorrent itself shows "Bad bencoded data", but tcpdump doesn't show anything (i.e. no connection attempt is made) neither on my default interface nor on the tunnel interface. Setting "bind" to 0.0.0.0 resolves the issue (i.e. rtorrent does connect to trackers, except it uses default interface, not vpn tunnel).

Note: See TracTickets for help on using tickets.