UPnP and Routers

dardas

Beta member
Messages
5
Hello all,

I have a general question regarding the UPnP protocol.
From what I understand, UPnP can map ports on UPnP enabled NATs and routers.

1) Does this mean you can run a UPnP enabled server such as ftp or web server on a machine behind NAT/Router whithout needing to configure the NAT manually?
I know UPnP can work through for p2p applications, I wanted to know if UPnP can also work in Server-Client applications such as web or ftp servers.

2) If UPnP CAN work for server-client applications, does it actually "port forward" the port for the server on the NAT/Router (i.e port 80 for web server and port 21 for ftp server).

3) If so, what is the difference between doing manual "port forwarding" and using UPnP? what are the advantages and disadvantages?

Thank you
 
1. Yes. NAT only works for information coming from your network, so it's not a factor as far as a Web server or FTP server is concerened. UPnP is an easy way to setup a router, to basicly let everything through. Again, easy to setup, not secure at all.
2. Yes, it will forward the requests, but you have to specify the IP address that it should forward it to, which means your network would best be setup for static IP addresses.
3. Manual port forwarding allows you to forward only ports that are relevant. This allows your server to be more secure. If you know all the ports on your computer, why there open, and how to secure them- you're ok. If not, go with manual port forwarding, just for the sake of security. There is a lot of trojans that scan for open ports, and UPnP doesn't know it's a trojan coming through- it just sends it to the port it requested.
Hope this helps. For more info on NAT, you can go to Howstuffworks.com, or here's the link http://computer.howstuffworks.com/nat.htm
 
Back
Top Bottom