UPnP Port Forwarding from WinXP17 Sep 2003
In a P2P app (say like Mnet) you need as many full peer (computers that can receive incoming connections as well as outgoing). Lots of homes now have (probably full of security holes) UPnP routers that will allow you to forward incoming connection to comptuers behind it.
I’m trying to learn how to monkey with this. On linux you might need to grok SOAP and learn whatever way M$ broke the standards with that (SOAPAction is a pain in the ass), but on WinXP you should be able to make some w32 api calls and have some COM object do the network calls for you.
So quickly poking around I found Programmatically Controlling a UPnP-Capable Firewall, on how to control port forwarding via COM in VB… and since I want to do this in python I found Quick Start to Client side COM and Python.
If I write some python to do this I will post it here.