Using UPNP with Yawcam

With the help of UPNP Yawcam can automatically forward the needed ports from your router to the computer where Yawcam is running. This will however only work if your router supports UPNP and if UPNP is enabled in your router's settings. Using UPNP is the recommended way to forward ports if your router has support for it.

1) Check in your router's manual if it supports UPNP. If it does you can continue, otherwise you have to forward the ports manually.

2) Enable UPNP in your router's settings. Check the manual for your router how this is done or just open the router settings and look for upnp.

Usually you access the settings for your router by opening a web browser and type or in the address bar and press enter on the keyboard.

You will then be prompted for a username and password. If you haven't set them yourself check the manual for the default values.

Typical default values are:

Username: admin
Password: admin

Username: admin
Password: 1234

Username: (leave blank)
Password: admin

Username: admin
Password: (leave blank)

Username: (leave blank)
Password: (leave blank)

Look at the following guide on how to enable UPNP in a Linksys WRT54GX router: (This guide also gives you an idea of how it's done even if you don't have this router.)

Guide: Enable UPNP in Linksys WRT54GX

3) Now when the router has the right settings you need to check if the settings are correct also in Yawcam. Open the connection settings by clicking: "Settings -> Edit settings... -> Connection" in the text menu in the main window. Make sure that the option "Use UPNP to open ports on router." is marked as in the image below:

UPNP settings

4) That's it! Now next time you enable Http or Stream check in the console if the UPNP forwarding works.

If you get the lines:

UPNP: Found device X
UPNP: Port 8081/TCP mapped to x.x.x.x

(Where X is the name of your router and x.x.x.x is your local ip address.)

All should be fine. Then try online check by clicking "Help -> Am I online?" to test if it really works.

If you instead get one of the lines:

UPNP: Could not find any UPNP devices!
UPNP: Error

Something is not right...

Remember: If you run into problems with the UPNP function you can always forward the ports manually instead.