How to configure a SOCKS5 proxy server for use with qBittorrent

Other platforms, generic questions.
Post Reply
flymike

How to configure a SOCKS5 proxy server for use with qBittorrent

Post by flymike »

I'm running a SOCKS5 proxy server at the other end of a VPN tunnel, and have configured qBittorrent's Connection dialog to use that address. Also, in Advanced settings, I changed the Network Interface so that only the VPN address is used.
All works well - for outbound connections.  But I don't understand how to configure the Listening port in this scenario:
  • How can the proxy at the other end of my VPN tunnel listen on my Listening port?
  • Or should I allow qBittorrent to listen on my ISP network interface?  Would my ISP be able to detect copyright infringement on the Listening side?
KitKat

Re: How to configure a SOCKS5 proxy server for use with qBittorrent

Post by KitKat »

[quote="flymike"]
I'm running a SOCKS5 proxy server at the other end of a VPN tunnel, and have configured qBittorrent's Connection dialog to use that address. Also, in Advanced settings, I changed the Network Interface so that only the VPN address is used.
All works well - for outbound connections.  But I don't understand how to configure the Listening port in this scenario:
  • How can the proxy at the other end of my VPN tunnel listen on my Listening port?
  • Or should I allow qBittorrent to listen on my ISP network interface?  Would my ISP be able to detect copyright infringement on the Listening side?
[/quote]
I dont think i understand what you're attempting to do.
What i think you're trying to do is make qbittorent's webui visible on the internet and unlinked to your machine?
Is that correct? And if so what you're doing wont work/the socks proxy is an unneccessary step, you should be binding it to the VPN IP and connecting to that.

No you shouldnt allow qbt to listen on your isp network interface, it would/could potentially cause an IP address leak to the swarm.
flymike

Re: How to configure a SOCKS5 proxy server for use with qBittorrent

Post by flymike »

No.  I'm running a qBittorrent client on Windows, but I don't want to expose my ISP assigned internet address.  So I have configured qBittorrent to use a SOCKS5 proxy on a server I run in another geography, and I connect to that server via OpenVPN.
That takes care of the connections initiated by my qBittorrent client on my Windows.
But my client also needs to listen on a port which I configure, so that the swarm can initiate connections to my qBittorrent client - and I can't figure out how to do that on the server hosting my proxy.  Do I need a reverse proxy?  If so, what package should I use (on Ubuntu server).
KitKat

Re: How to configure a SOCKS5 proxy server for use with qBittorrent

Post by KitKat »

This may be what you're after: https://www.debuntu.org/how-to-redirect ... -iptables/
Sorry i havent setup what you're asking, and i backspaced a decent chunk of text thinking you were trying to do a VPS passthrough lol >_>
Post Reply