Have you considered MiniUPnP library? It's very easy to use. Of course, the modem has to support UPnP(the most of are) and has it enabled by default(not sure how many are, mine is).
I have, and it works well for some people but not everyone. You also get a problem where these ports close after several hours, leaving the user confused to why things just stopped working.
Have you considered MiniUPnP library? It's very easy to use. Of course, the modem has to support UPnP(the most of are) and has it enabled by default(not sure how many are, mine is).