DHT doesn't work if using SOCKS5 proxy for trackers only.

General support for problems installing or using Deluge
Post Reply
User avatar
Alexey104
Member
Member
Posts: 10
Joined: Wed Jun 19, 2019 5:39 am

DHT doesn't work if using SOCKS5 proxy for trackers only.

Post by Alexey104 »

Hello!

I have a VPS with Shadowsocks running on it, and I want to use it as proxy for connecting to announce trackers that are blocked in my country. I don't need to route the actual torrent traffic via proxy, only connect to blocked trackers and then upload/download directly with my IP. This is my proxy settings:

Code: Select all

    "proxy": {
        "anonymous_mode": false,
        "force_proxy": false,
        "hostname": "127.0.0.1",
        "password": "",
        "port": 1080,
        "proxy_hostnames": false,
        "proxy_peer_connections": false,
        "proxy_tracker_connections": true,
        "type": 2,
        "username": ""
    },
This works as expected - I can successfully connect to blocked trackers, and they can see me, but DHT doesn't work at all until "proxy_peer_connections" is set to true, which I don't want. Otherwise DHT nodes are always 0.

Is there any way to use proxy only for announcing to trackers while connecting to peers directly and have DHT working at the same time?
Post Reply