Page 1 of 1

port mapping?

Posted: Wed Mar 31, 2004 8:44 am
by MieZ
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

Posted: Wed Mar 31, 2004 9:35 am
by malun
Whoops, never thought about this :oops:

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">
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 :wink:
Please let me know if it worked out...

/malun

Posted: Wed Mar 31, 2004 3:36 pm
by malun
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
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...
Ask a friend to test if he can see you.

/malun

Posted: Fri Apr 02, 2004 9:58 am
by MieZ
hi malun

its is working this way!
the outside adress won't work from the insde, but i can use the local ip for that (with local.html for example)

thanks a lot! i like yawcam even more now!

Posted: Fri Apr 02, 2004 11:44 am
by malun
Great :D

/malun