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?
Using UPnP is more convenient, while port forwarding is a lot safer from a privacy standpoint. Some people go for security, and some don't. Who are we to judge? But if you are creating a secure connection between two devices via port forwarding, you are compromising convenience.
Some argue that manual port forwarding is better for your internet connection speed, since UPnP causes lag. But does it, really? It's highly unlikely, but when it comes to gaming, it might add latency to your connection, yet it shouldn't affect your download speed.
UPnP (Universal Plug and Play) is a service that allows devices on the same local network to discover each other and automatically connect through standard networking protocols (such as TCP/IP HTTP, and DHCP).
UPnP completely automates the process. UPnP also allows devices to automatically open ports on your router to connect to home devices which involves port forwarding. In layman terms, port forwarding is just a way for external devices to connect to devices in your network over the internet.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With