Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > IP camera access?

Reply
Thread Tools

IP camera access?

 
 
Gordy
Guest
Posts: n/a
 
      07-18-2006
Hi,

I need help getting an IP camera image on LAN port 82 out to the
internet on WAN port 80.

I have two IP cameras on my LAN that I want to access from a remote
web browser. One camera is on LAN port 80 and the other is on port 82.

These cameras are both accessible on the internet with a remote
browser where a computer has both ports accessible, using WAN_IP port
80 and 82

However I want to access the port 82 camera from a remote web browser
on a computer that has only got port 80 available.
Port 82 must be blocked by a firewall I guess.

For my cameras, I have set up a server using WinXP Pro and IIS that is
on WAN port 80.

My idea is to use the server to present camera images from any LAN
port to the internet on WAN port 80.

I can access a jpg image file ok through the server.

I can't access the camera images via the server from LAN port 80 or
82.

I have one camera on LAN 192.168.1.30
and another on LAN 192.168.1.32:82

I have port forward set up on my ADSL router for the LAN_IP adresses
and for port 82.

The server code is:

<img alt="HouseCam" src="http://192.168.1.32:82/cgi-bin/video.jpg"
style="width: 320px; height: 240px;" -=""><br>

(/cgi-bin/video.jpg grabs a snapshot from the IP camera)

The remote browser shows a blank image.

The remote browser status shows the browser trying to fetch an image
from server camera LAN_IP address which of course can't be found on
the remote computer.

Grr....

Any help or pointers would be most appreciated.

TIA

Gordon

 
Reply With Quote
 
 
 
 
Steve
Guest
Posts: n/a
 
      07-18-2006
On Tue, 18 Jul 2006 23:35:47 +1200, Gordy wrote:

> Hi,
>
> I need help getting an IP camera image on LAN port 82 out to the
> internet on WAN port 80.
>
> I have two IP cameras on my LAN that I want to access from a remote
> web browser. One camera is on LAN port 80 and the other is on port 82.
>
> These cameras are both accessible on the internet with a remote
> browser where a computer has both ports accessible, using WAN_IP port
> 80 and 82
>
> However I want to access the port 82 camera from a remote web browser
> on a computer that has only got port 80 available.
> Port 82 must be blocked by a firewall I guess.
>
> For my cameras, I have set up a server using WinXP Pro and IIS that is
> on WAN port 80.
>
> My idea is to use the server to present camera images from any LAN
> port to the internet on WAN port 80.
>
> I can access a jpg image file ok through the server.
>
> I can't access the camera images via the server from LAN port 80 or
> 82.
>
> I have one camera on LAN 192.168.1.30
> and another on LAN 192.168.1.32:82
>
> I have port forward set up on my ADSL router for the LAN_IP adresses
> and for port 82.
>
> The server code is:
>
> <img alt="HouseCam" src="http://192.168.1.32:82/cgi-bin/video.jpg"
> style="width: 320px; height: 240px;" -=""><br>
>
> (/cgi-bin/video.jpg grabs a snapshot from the IP camera)
>
> The remote browser shows a blank image.
>
> The remote browser status shows the browser trying to fetch an image
> from server camera LAN_IP address which of course can't be found on
> the remote computer.
>
> Grr....
>
> Any help or pointers would be most appreciated.
>
> TIA
>
> Gordon


Which side of the firewall are you on? That IP address will be NATed from
the outside world.

 
Reply With Quote
 
 
 
 
Gordy
Guest
Posts: n/a
 
      07-18-2006
With my limited knowledge I have set up NAT WAN_IP to LAN_IP.

>From the remote web browser that will not allow port 82 access I am

inside a firewall (my employer).

Cheers

Gordon



> Which side of the firewall are you on? That IP address will be NATed from
> the outside world.


 
Reply With Quote
 
Allistar
Guest
Posts: n/a
 
      07-18-2006
Gordy wrote:

> Hi,
>
> I need help getting an IP camera image on LAN port 82 out to the
> internet on WAN port 80.
>
> I have two IP cameras on my LAN that I want to access from a remote
> web browser. One camera is on LAN port 80 and the other is on port 82.
>
> These cameras are both accessible on the internet with a remote
> browser where a computer has both ports accessible, using WAN_IP port
> 80 and 82
>
> However I want to access the port 82 camera from a remote web browser
> on a computer that has only got port 80 available.
> Port 82 must be blocked by a firewall I guess.
>
> For my cameras, I have set up a server using WinXP Pro and IIS that is
> on WAN port 80.
>
> My idea is to use the server to present camera images from any LAN
> port to the internet on WAN port 80.
>
> I can access a jpg image file ok through the server.
>
> I can't access the camera images via the server from LAN port 80 or
> 82.
>
> I have one camera on LAN 192.168.1.30
> and another on LAN 192.168.1.32:82
>
> I have port forward set up on my ADSL router for the LAN_IP adresses
> and for port 82.
>
> The server code is:
>
> <img alt="HouseCam" src="http://192.168.1.32:82/cgi-bin/video.jpg"
> style="width: 320px; height: 240px;" -=""><br>
>
> (/cgi-bin/video.jpg grabs a snapshot from the IP camera)
>
> The remote browser shows a blank image.
>
> The remote browser status shows the browser trying to fetch an image
> from server camera LAN_IP address which of course can't be found on
> the remote computer.
>
> Grr....
>
> Any help or pointers would be most appreciated.
>
> TIA
>
> Gordon


Sounds like something a reverse proxy would solve. I know how to set one up
in Apache (it's pretty straight forward), but not IIS. A reverse proxy is
often used for making otherwise inaccessible web servers available through
a visible web server - normally to allow remote people to see internal
webservers.

I.e. you could have camera1 = http://somewhere.com/camera1/
And camera2 = http://somewhere.com/camera2/

But your main webserver revers proxies /camera2/ to
http://192.168.1.32:82/cgi/bin

Regards,
Allistar.
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      07-19-2006
In message <(E-Mail Removed)>, Gordy wrote:

> The server code is:
>
> <img alt="HouseCam" src="http://192.168.1.32:82/cgi-bin/video.jpg"
> style="width: 320px; height: 240px;" -=""><br>


This won't work from outside your LAN. 192.168.x.x addresses are entirely
internal to your LAN.

What you could do is open up a pinhole through your ADSL/firewall so port 82
goes through to the IP address of your camera. Then change the 192.168.1.32
in the above URL to your external IP address. But then the link won't work
internally on your LAN.

Another possibility is to have a periodic task on your main Web server
fetching images from the camera to a local filename (overwriting the same
file each time), and then simply serve up that file statically.

 
Reply With Quote
 
Gordy
Guest
Posts: n/a
 
      07-19-2006

> Another possibility is to have a periodic task on your main Web server
> fetching images from the camera to a local filename (overwriting the same
> file each time), and then simply serve up that file statically.


That sounds like a way to go. Refreshing every 5 to 10 seconds would
not use much of the LAN bandwidth. Thanks.

 
Reply With Quote
 
jasen
Guest
Posts: n/a
 
      07-19-2006
On 2006-07-18, Gordy <(E-Mail Removed)> wrote:
> Hi,
>
> I need help getting an IP camera image on LAN port 82 out to the
> internet on WAN port 80.
>
> I have two IP cameras on my LAN that I want to access from a remote
> web browser. One camera is on LAN port 80 and the other is on port 82.


what's a LAN port ?

> These cameras are both accessible on the internet with a remote
> browser where a computer has both ports accessible, using WAN_IP port
> 80 and 82


ok..

> However I want to access the port 82 camera from a remote web browser
> on a computer that has only got port 80 available.


easy fix: try going through a proxy.

> Port 82 must be blocked by a firewall I guess.
>
> For my cameras, I have set up a server using WinXP Pro and IIS that is
> on WAN port 80.
>
> My idea is to use the server to present camera images from any LAN
> port to the internet on WAN port 80.
>
> I can access a jpg image file ok through the server.
>
> I can't access the camera images via the server from LAN port 80 or
> 82.


you'll need to set that up on your server so that requests to the server are
translated into requests to the camera and the camera's response is sent to
the client.

this could probably be done using 10-20 lines of PHP. or some other scripting
language.

Bye.
Jasen
 
Reply With Quote
 
Allistar
Guest
Posts: n/a
 
      07-19-2006
jasen wrote:

> On 2006-07-18, Gordy <(E-Mail Removed)> wrote:
>> Hi,
>>
>> I need help getting an IP camera image on LAN port 82 out to the
>> internet on WAN port 80.
>>
>> I have two IP cameras on my LAN that I want to access from a remote
>> web browser. One camera is on LAN port 80 and the other is on port 82.

>
> what's a LAN port ?
>
>> These cameras are both accessible on the internet with a remote
>> browser where a computer has both ports accessible, using WAN_IP port
>> 80 and 82

>
> ok..
>
>> However I want to access the port 82 camera from a remote web browser
>> on a computer that has only got port 80 available.

>
> easy fix: try going through a proxy.
>
>> Port 82 must be blocked by a firewall I guess.
>>
>> For my cameras, I have set up a server using WinXP Pro and IIS that is
>> on WAN port 80.
>>
>> My idea is to use the server to present camera images from any LAN
>> port to the internet on WAN port 80.
>>
>> I can access a jpg image file ok through the server.
>>
>> I can't access the camera images via the server from LAN port 80 or
>> 82.

>
> you'll need to set that up on your server so that requests to the server
> are translated into requests to the camera and the camera's response is
> sent to the client.
>
> this could probably be done using 10-20 lines of PHP. or some other
> scripting language.
>
> Bye.
> Jasen


Sounds like a reverse proxy to me, as I suggested in my initial reply. They
are quite easy to set up and are designed precisely for this situation.

Allistar.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dubbing from VHS camera to Sony trv310 digital camera jim Computer Support 1 05-20-2004 03:13 PM
Downloading camera to computer / best method / my camera keep BREAKING! Michael Digital Photography 16 11-22-2003 03:38 AM
newbie: difference big zoom camera or basic camera + telelens Tim Digital Photography 0 09-25-2003 11:33 AM
Re: Can someone explain how digital camera optical zooms compare to film camera zooms? fruitbat Digital Photography 1 09-17-2003 10:11 PM
Night shots are better with digital camera- No film vs camera debate zxcvar Digital Photography 4 09-01-2003 06:38 PM



Advertisments