5

I want to add the option of automatic port forwarding (NAT Traversal) to an application.

I know this can be done using UPnP (specifically the part that communicates with the device presenting itself as an IGD - Internet Gateway Device).

I need to be able to test this port forwarding feature while developing it. And whatever big router system company traffic is routered over

  • Doesn't provide UPnP.

  • Wouldn't want me messing around with it while it's in live service.

My question is:

Does anyone know of any software that acts as or emulates a UPnP compatible router?

xyz
  • 27,223
  • 29
  • 105
  • 125
  • I don't know of a software solution, thus posting as a comment. But you could just buy any cheapo router that supports UPnP and NAT and hook it between your dev machine and your company network. You get to play against a real device, while still on the corpnet. – Franci Penov Oct 20 '08 at 08:48
  • Yup - I have a router to test, but it'd be nice to try the software route as well, because I gather UPnP implementation quality varies quite a bit! :) – xyz Oct 21 '08 at 16:44

1 Answers1

5

You could use Windows Firewall / Internet Connection Sharing, which supports UPnp by default. Just setup another machine, with Internet Connection Sharing activated, and you will have a UPnp router.

Also, you could check the UPnp forum for more information here.

Later edit:

You could also try setting up a linux/unix firwall with igd activated.

Here is a forum post for ubuntu.

And there is a miniUPnp project too.

Community
  • 1
  • 1
Bogdan Maxim
  • 5,866
  • 3
  • 23
  • 34