[Twisted-Python] Punching a firewall with Twisted?
James Y Knight
foom at fuhm.net
Thu Jun 17 14:35:08 EDT 2010
On Jun 17, 2010, at 12:59 PM, Maarten ter Huurne wrote:
> Maybe it uses UPNP to tell the router which ports to open?
> As far as I know, there are no hole-punching techniques for TCP like
> are for UDP. So the only way to get a port forward is to configure the
> router, manually or through an API like UPNP.
Yes, many bittorrent clients use UPNP and/or NAT-PMP to open a hole in
This will work for most users of home routers, but not other NAT
I'm just waiting for the kernel patch which makes socket()/bind()
automatically send a UPNP/NAT-PMP to the router to open the port. :)
More information about the Twisted-Python