Port Forwarding help needed to access webcam

Discussion in 'Tomato Firmware' started by sfboarders, Apr 28, 2009.

  1. sfboarders

    sfboarders Addicted to LI Member

    So I set up a Panasonic Webcam at home so I can see if intruders are entering my home from work. It works fine over the LAN but I can't seem to access the camera from outside of my network

    I have a Linksys WRT54GL v1 running Tomato 1.23. I forwarded port 50000 on the Port Forwarding screen for "Both" using the IP address of my webcam (I also assigned this as a static IP for the MAC address of the webcam). I also set the webcam to use port 50000.

    I setup a dynamic IP address with dyndns.org but I could not view my webcam so I tried my WAN IP with the port number and still no luck.

    I tested my port with the following link below and it is timing out. Tracert, ping and telnet also times out. I contacted my ISP (Astound) and the ports that I am trying to use are not blocked.


    Any help with forwarding my ports and accessing my webcam would be greatly appreciated. Thanks!
  2. michse

    michse Addicted to LI Member


    so you forwarded port 50000 to port 50000 of the camera ip.

    Did you clear the nvram after you flashed tomato? IMHO this is often the "portforwardproblem"

  3. fyellin

    fyellin LI Guru Member

    Overall, it sounds like you got things set up correctly. So I suspect there is a misconfiguration somewhere.

    #1) Are you positive that dyndns is set up correctly and that it is giving you the correct IP address.

    #2) Are you positive that your router is reachable and not, for some reason blocked? Try enabling external "ping" and external "ssh" on your router, and then see if you can reach your router correctly.

    #3) Are you positive that your webcam is getting the correct internal LAN address? If the webcam previously had a different address, it may keep on requesting (and getting) that different address even though you have a static address set up.

    #4) And just to double check, you're sure that "ON" is clicked on the port forwarding page? It's easy for this to get turned off by accident.

    These are just some guesses.
  4. sfboarders

    sfboarders Addicted to LI Member

    Hi michse, I set my webcam to use port 50000 and I also setup port forwarding to 50000 for "Both" UDP and TCP to the IP address of (the IP address of my camera).

    I upgraded from dd-wrt v24sp1 and cleared nvram after I flashed tomato because I had to clear out my old password. I followed the guide here.

    What do you mean by the "portforwardproblem"?
  5. sfboarders

    sfboarders Addicted to LI Member

    1) DynDNS appears to be set up correctly. I set it up in Tomato and my IP address seems to be updated. If I do a ping or telnet to my dyndns domain it shows my IP address.

    2) I'll have to try this on later on tonight when I get home.

    3) In the webcam the settings are to use which was set by default. I also assigned that IP address to the MAC address of the webcam.

    4) Yes port forwarding is checked and set to "ON".

    Oh btw, the camera has some software in it to use the Panasonic dynamic dns that updates the uPnP but that fails all the time which made me switch over to DynDNS. But uPnP appears to be working because I saw my Skype on there.
  6. ifican

    ifican Network Guru Member

    Outside of the standard suggestions above does the camera have a route setup? If not or is not capable that is why it works on the lan and no where else.
  7. sfboarders

    sfboarders Addicted to LI Member

    What do you mean by route? Others have used this camera outside of LAN.

    This is the camera I have.
  8. fyellin

    fyellin LI Guru Member

    I just looked at the first customer review at the Amazon web site, and that review indicates that there are additional steps you need to do if you have DSL rather than Cable. Do those instructions help at all?
  9. sfboarders

    sfboarders Addicted to LI Member

    Nope, I have cable Internet. I don't use any PPPoE software. I just plug my router into my modem and my PC's are online. I've setup an apache webserver and also a SCP server with Fedora in the past with my old netgear router with Comcast cable but never set anything up with my linksys router before. So I do have some experience with port forwarding in the past.
  10. fyellin

    fyellin LI Guru Member

    My email was desperation. It sure sounds like you're doing everything right to me. This shouldn't be that difficult!

    When the previous poster was talking about "route" he meant checking that the routing tables on the webcam are set up correctly. Generally DHCP is supposed to do this, but you mentioned that your webcam may just be using its built in address.

    You probably can't find out the webcam's routing table, unless you have some way of logging into it. But it should say that
    • For address 127.*.*.* use loopback
    • For address 192.168.1.* contact the host directly
    • By default, contact (the router)
    You've got the netmask on the webcam set to, and the gateway set to your router's LAN IP address? And they're both on the same subnet?
  11. sfboarders

    sfboarders Addicted to LI Member

    Where do I enable external ping at? Do I enable SSH in the Administration -> Admin Access area and check "Remote Access"?
  12. sfboarders

    sfboarders Addicted to LI Member

    Just wanted to let everyone know I was able to get my webcam working outside of my LAN. It appears that I did not add the gateway IP addy on my webcam. I also saw that the IP address of was outside of the range so I changed the IP address of the webcam to I also fowarded and setup the mac address for the wireless portion of the webcam. I restarted the camera and router went on my iphone and used a 3g connection and I was able to log into my webcam. I just wanted to thank everyone here for their advice for things that I might have missed.
  13. fyellin

    fyellin LI Guru Member

    I'm glad that after giving you lots of worthless advise, the advise to make sure the webcam had the right gateway address turned out to be correct.

    Not that it's necessary any more, but just so that you'll now:

    You enable "external" ping via the Advanced >> Firewall >> Respond to ICMP Ping setting.

    You are correct about how to enable Remote Access via ssh. But make sure you have a really good password before enabling this.
  14. michse

    michse Addicted to LI Member

    I mean, you have to use "Restore default Configuration" to clean all things. This is often the problem when simple things should work and they don't. a 30/30/30 like in dd-wrt is not enought. I have to learn this :) for my config.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice