|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IIS serving an image from a private ip address?
Hello,
I am trying to put up a small website that will consolidate images collected from several IP cameras we have on our local area network. The web server will be accessible from outside the LAN, but the cameras are not accessible from outside the LAN. So, the URL that I use on the IMG= statement is invalid when a browser is outside the private LAN. The line is: <A HREF="http://192.168.3.52/cgi-bin/image.jpg?imgprof=VGA"> The 192.168.3.52 is the actual address of the IP camera that will be serving the .JPG image file, but that address is only valid when viewed from inside the LAN, not from the open Internet. How can I force the IIS application to act as a "server" for images it does not have on its on hard drive, without having the IP camera FTP each image to a local server whether or not anyone is browsing the link? I could do this but I expect this to be a little used page and that would cause a lot of unnecessary traffic on the network with all the cameras sending images in that would most likely never be seen. I would rather the IIS redirect the link and serve the image as if it were local to the IIS machine, so that the same HTML page would be viewed properly on local and remote users. Thanks! Stu |
|
#2
|
|||
|
|||
|
As long as the webserver has access to the private IP's, you could use some asp page to get the image from the private IP by code and present it to the web user. The user won't know where the image came from.
This technique is used by people to prevent outside sites from linking directly to an image from their site. Some judicious googling should turn up examples.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
most likely try some ASP or ASP.NET. XML.HTTP will allow you to get your content locally and then output that data to the client.
__________________
John Shepard Beyond The Impossible ----------------------------- Has a post helped you? Please show your apprecitation by clicking the image in the right upper corner.Posting code? Put your code between [code] and [/code] tags. X-Login and X-Send |
|
#4
|
|||
|
|||
|
Not a valid solution
I could turn the cameras into FTP image downloaders which would continuously download images to the FTP site locally, and then use links to the local FTP server addresses for the current image for each camera. This would load both the FTP server and the local LAN with generally unneeded traffic downloading images that for the most part, won't be seen by anyone.
The beauty of an IP based camera is that it generates no traffic when there is no utilization. So, no browser = no bandwidth needed. I need some way to generate an address that would redirect the traffic to an internal address, and forward the request to the webcam where it would serve the image to the browser. If there is an ASP file that would download the image from the camera, and change the link to a local image, that would work. I don't know what to ask for on Google to find what may be already available. Thanks! Stu |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS serving an image from a private ip address? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|