Page 1 of 1

How Deluge open ports behind a NAT?

Posted: Sun Jan 15, 2017 6:57 pm
by AnarCoSol
Hi
I need to figure out where to find in deluge's source code the piece where it opens the door behind a NAT, I know who uses libtorrent to do it, but i don't know how.

I need it for a project of mine, since I cannot find well documented and functional libraries (upnpc, etc ) in python

thanks in advance,

AnarCoSol

Re: How Deluge open ports behind a NAT?

Posted: Mon Jan 16, 2017 1:22 am
by Cas
It is done via libtorrent: https://github.com/arvidn/libtorrent