port mapping?

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
MieZ
Posts: 3
Joined: Wed Mar 31, 2004 8:36 am

port mapping?

Post 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
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Post 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
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Post 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
MieZ
Posts: 3
Joined: Wed Mar 31, 2004 8:36 am

Post 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!
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Great :D

/malun
Post Reply