Any point using UPNP in routers?
Posted on 2006-05-02
Hi, I have written a cool Delphi app (with EE experts holding my hand :) which is fairly easy to use but does require incoming connections (vital to it's purpose), so the most annoying thing during install is trying to explain to people how to enable Port Forwarding or NAT in their various router makes, I have tried to document this but just soooo many different makes/models in the world, UPNP feature however has been around for many years now and is designed to help with this, I have just tried an example program written in C but it failed miserably to open port's in my Draytek Vigor router.
Has anyone used UPNP successfully to open ports in a users router? I realise the security issues with UPNP and if the client does not have it enabled then will advise them to enable it and then disable it after install.
I want to make install process as simple as possible for those who do not know how to configure their routers properly.
I would like a working example or demo with source of a Delphi app (or any pointers to decent online docs) that can open ports in a router programmatically when the UPNP feature is active. I am also aware that pretty much only XP supports UPNP out of the box at the moment due to reliance on COM.
If this is just going to be a pain to code then will just carry on doing manually, it seems that UPNP has not really taken off yet?
Thanks for any help or suggestions!