Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got thinking about how webcams over MSN Messenger worked. After some digging on Google, I found that the camera stream on a port in the 6000's.

It then occured to me - I don't allow that reem of ports to be open on my router - yet the webcam stream works when I chat with a contact?

How is this? If I initiate a connection to a remote service on my client machine, does that somehow by-pass any Port Forwarding on my router and connect anyway?

Is Port Forwarding only for when someone tries to establish a connection to you first?

share|improve this question

migrated from Jul 14 '11 at 22:45

This question came from our site for information security professionals.

up vote 4 down vote accepted

MSN, skype, google talk, sip and various such services use techniques known as nat-traversal to bypass port forward rules (or add their own at will).

There are various of them, so just laying down acronyms you can include UPnP (this is what is probably used by msn), STUN, TURN, hole punching, ALG configurations on your router and others.

You probably want to check out this wikipedia article and the associated links

share|improve this answer
Thankyou for leading me to UPnP and SOCKS via NAT Traversal :-) – 8bitjunkie Jul 15 '11 at 8:44

The only reason you need port forwarding in the first place is because your router uses NAT. Once you understand how NAT works, you will understand why you need port forwarding and why it is indeed only necessary if someone else tries to connect to you. So why don't you need port forwarding to share your webcam with someone? Well, you do. But there are protocols such as UPNP to automatically configure those port forwardings.

share|improve this answer
Thankyou for giving me a keyword (UPnP) to help me find the answer :-) – 8bitjunkie Jul 15 '11 at 8:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .