Allow multiple connections from same IP

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

Allow multiple connections from same IP

Postby justing600 » Fri May 08, 2020 11:16 pm

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
Compulsive Poster
Compulsive Poster
Posts: 735
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Allow multiple connections from same IP

Postby mhertz » Sat May 09, 2020 1:05 am

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

Postby justing600 » Sun May 10, 2020 12:29 am

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!


Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests