Hi,
i am trying to get the steaming server runnning on a PC, wich is connected thru a router to the internet.
problem now is that i have to use an existing portmap from the router to the pc, but the router port is different from the pc port:
like router ip: 80.112.32.202:2000 to
pc ip: 1.1.1.10:3000
also with the router ip in the 'force public ip' this doesn't work here.
is it possible to get this working anyway? or should he port numbers be the same?
thnx
port mapping?
Whoops, never thought about this
But I think there is a work around:
In your stream settings you should enter the port number of the local pc (3000 in your example).
Select "advanced" and fill in the routers public ip in the "force field".
Save the settings.
Now by hand you have to make a copy of index.html file in your yawcam\stream\ directory. (i.e. c:\program files\yawcam\stream\index.html ) Name this new copy stream.html or whatever you like.
Edit the html code in the new copy.
Look for the line:
Change the port value to the portnumber on your router. (2000 in your example)
Now, when you are going to watch the webcam over the Internet you have to connect to http://80.112.32.202:2000/stream.html
I think this should do it
Please let me know if it worked out...
/malun
But I think there is a work around:
In your stream settings you should enter the port number of the local pc (3000 in your example).
Select "advanced" and fill in the routers public ip in the "force field".
Save the settings.
Now by hand you have to make a copy of index.html file in your yawcam\stream\ directory. (i.e. c:\program files\yawcam\stream\index.html ) Name this new copy stream.html or whatever you like.
Edit the html code in the new copy.
Look for the line:
Code: Select all
<param name="Port" value="3000">
Now, when you are going to watch the webcam over the Internet you have to connect to http://80.112.32.202:2000/stream.html
I think this should do it
Please let me know if it worked out...
/malun
I forgot to say that this address probably won't work for your self when sitting on the "inside" of the router. I don't think port mapping works that way...malun wrote:Now, when you are going to watch the webcam over the Internet you have to connect to http://80.112.32.202:2000/stream.html
Ask a friend to test if he can see you.
/malun