I'm running rtorrent on a seedbox, but this seedbox has significant bandwidth restrictions. I have another server (I'll call it the proxy) with no bandwidth restrictions which I'd like to use as a proxy when leechers are connecting to my box (the connection between the seedbox and the proxy has no bandwidth restrictions).
There are a few ways I could see this working out, but I'm not sure on the details (mainly I'm unsure of how to coax rtorrent into doing what I want):
ssh from the seedbox into the proxy, reverse forwarding the incoming connections port to localhost. The problem is: how do I get rtorrent to tell peers that they should connect to the proxy and not to the seedbox directly?
ssh from the seedbox into the proxy, set up a SOCKS tunnel, and wrap all rtorrent traffic in the tunnel. This is feasible, but I'd like to avoid the hackiness of force-tunneling rtorrent connections without rtorrent knowing what's going on (per this answer, I'd likely have to do it without rtorrent's knowledge).