Allow multiple connections from same IP

General support for problems installing or using Deluge
Post Reply
justing600
New User
New User
Posts: 2
Joined: Fri May 08, 2020 11:03 pm

Allow multiple connections from same IP

Post by justing600 »

Hello!

I'm trying to allow multiple connections from the same IP address on the same torrent, similar to the functionality offered by uTorrent's "bt.allow_same_ip" flag. I'm looking for this because my VPN offers port forwarding, but in doing so they NAT all incoming connections behind the same 10.x.x.x IP. This means without allowing multiple connections from it, I can only have one incoming peer connection per torrent.

Ideally if I could whitelist an IP or IP range to allow multiple connections from it would be preferred so I can specify that CIDR, but allowing multiple connections from all IPs would work as well.
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Allow multiple connections from same IP

Post by mhertz »

ltconfig plugin > allow_multiple_connections_per_ip = true.

Edit: If using deluge2, then there's an issue with configuring boolean options like above, so you need edit/add those from config file. If only option you need, then can add following contents as an ltconfig.conf file in your deluge profile dir and restart deluge/deluged, but check in ltconfig plugin settings afterwards in GTKUI preferences that it is applied correctly(as copy/pasted/changed in browser from another ltconfig.conf found online, as not home now, so could have messed some json formatting up by accident).

Code: Select all

 
{
  "file": 1,
  "format": 1
}{
  "apply_on_start": true,
  "settings": {
    "allow_multiple_connections_per_ip": true
  }
}
justing600
New User
New User
Posts: 2
Joined: Fri May 08, 2020 11:03 pm

Re: Allow multiple connections from same IP

Post by justing600 »

Perfect, that's just what I was looking for! I'm still on deluge 1 so installing the egg and activating it from the gui was simple. As soon as I restarted deluge I now see multiple connections from the same IP! Thank you for the help!
Post Reply