Page 1 of 1

Force static ports

Posted: Fri Sep 13, 2013 1:52 am
by kayem
Hello,

I'm trying to migrate from Windows to Linux and Deluge is giving me serious problems. I've been looking all over for days for an answer; I couldn't find one.

At my school we cannot connect to torrents unless we use a specific port (53, the DNS port). This specific port is a commonly used port, so I assume it is detected as "in use" by Deluge. I have read that Deluge will use a random port if the specified range is not available. I want to use this static port, whether or not Deluge thinks it is available.

For example, in Windows using uTorrent, I can set the port to X, and it will use that port, and torrents will download. In Deluge, if I set the port to "X", it picks a random port. I'd like to use the port I choose instead of having the program second-guess my choice and override it.

I obviously don't have any access to the school's routers or network config.

Is there any way this can be done, either by modifying the config or changing something in the source. I'm not too experienced with modifying source code, but I'm sure I could manage if someone explains it.


Thank-you for your time.