Question

Recently I buyed a Foscam wireless IP camera: http://www.foscam.com/Products_List.asp?id=173

In my home, my laptop and my IP camera are behind a cable modem (my ISP gives me a dynamic IP) using a linksys router (I dont have a public IP).

Actually I use SSH in a basic way to learn / manage some basic things in my VPS server.

My question is (the right ssh flags and commands to achieve this):

I think that I need to create:

  1. A tunnel from my local router to a remote VPS server where I have root access.

  2. A portforward in the router.

Thanks in advance.

Was it helpful?

Solution

You need to add a port forward in your router from port X to port 22 on your home computer.

You can then ssh -p X username@your-home-ip.

Include the -L Y:foscamip:80 command line switch when you run ssh, assuming focscam runs a web server on port 80 (standard). Use something over 1024 for Y, like 8080.

Open up a web browser, and go to http://localhost:Y.

You have access! When you're done, simply log out of your ssh session.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top