Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#218800 - 16/06/2004 16:18 Streaming Externally ?
LTJBukem
enthusiast

Registered: 18/07/2001
Posts: 299
Is it possible to stream from the empeg externally ? I guess so, but here is my setup.

I have several web sites pointing to my External IP which then routes through a Virtual Server on my Router to 192.168.20.2 my Web Server

The Empeg address is 192.168.20.210, internal obviously, but I would like to make it available externally probably via a password'd site.

How could i make someone hit a website on 192.168.20.2 then it maps to the playlist web page on 192.168.20.210.

Also does anyone know how i would hack the web pages on the empeg to take off the player controls and just leave streaming (and maybe add a logo)

Any ideas anyone ?

Thanks


Edited by LTJBukem (16/06/2004 16:20)
_________________________
LTJ

Top
#218801 - 16/06/2004 16:21 Re: Streaming Externally ? [Re: LTJBukem]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
You can either do "Port Forwarding", or make your empeg a "DMZ" on the router.

Remember that those 192.168 addresses are only valid for your internal network. Look up in your router's instructions how to set up a web server from behind the firewall, it should tell you everything you need to know.
_________________________
Tony Fabris

Top
#218802 - 17/06/2004 04:16 Re: Streaming Externally ? [Re: LTJBukem]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Presumably, you've got port 80 on your router forwarded to your webserver?

Have you got virtual hosting enabled? For example, www.differentpla.net and www.beerology.net both resolve to the same address (my router) and the port 80 traffic is forwarded to my webserver (on 192.168.0.4), which uses Apache's virtual host mechanism to work out which web pages to serve up.

Do you want to connect to a different port? Maybe you can configure your router to forward port 81 to the empeg's port 80? Some routers will only allow you to forward a port to the same port number on the internal box, though. To get around this, you'd need to change Hijack to listen on a different port (I don't know if this is configurable).

If you always route port 80 to your webserver, and you're using Apache, you can use mod_proxy to forward particular virtual hosts (or pieces of your URI namespace) to another webserver (i.e. the empeg). I don't know if there's an equivalent setting in IIS.
_________________________
-- roger

Top
#218803 - 17/06/2004 05:47 Re: Streaming Externally ? [Re: Roger]
LTJBukem
enthusiast

Registered: 18/07/2001
Posts: 299
Sorry I should have included more information.

I have a couple of sites hosted on IIS on a W2K server which is 192.168.20.2 and this will be on port 80. I'm using Host Headers to recognise the original called site and serve up the pages.

Lets say my site www.starvingrascal.com is on my server. I want ot create www.starvingrascal.com/empeg which will ask for a password then link to the empeg.

I don't know to tell IIS (or the web page) that when it hits www.starvingrascal.com/empeg/index.htm it then needs to forward to the Empeg Playlist page and display it externally.

I works fine internally of course because 192.168.20.210 can be resolved but presumably this is more complex externally.

Tony, I tried putting the empeg in the DMZ but it didn't work (I thought it might have).

Port fowarding of Port 80 goes to the Web Server 192.168.20.2 and I need to keep it that way.

Also I guess I need to access the webserver first for the password control ?

Thanks
_________________________
LTJ

Top
#218804 - 17/06/2004 06:28 Re: Streaming Externally ? [Re: LTJBukem]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
I don't know to tell IIS (or the web page) that when it hits...

OK. This is where Apache's mod_proxy does its thing. You'd put:

ProxyPass /empeg http://the.empeg/

ProxyPassReverse /empeg http://the.empeg/


Now, I don't know if IIS has an equivalent.
_________________________
-- roger

Top
#218805 - 17/06/2004 06:32 Re: Streaming Externally ? [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Hmmm. IIS will do redirection, but not (it seems) proxying. I think you need Microsoft ICA to do the proxying.

You could set up Apache as a front-end webserver and have it proxy to both the IIS box and the empeg, but that's overkill.
_________________________
-- roger

Top
#218806 - 17/06/2004 06:33 Re: Streaming Externally ? [Re: LTJBukem]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Port fowarding of Port 80 goes to the Web Server 192.168.20.2 and I need to keep it that way.

Can you get your router to redirect external port 81 to the empeg's port 80? I know that my router won't do this, but yours might.
_________________________
-- roger

Top
#218807 - 17/06/2004 07:16 Re: Streaming Externally ? [Re: Roger]
LTJBukem
enthusiast

Registered: 18/07/2001
Posts: 299
The router does do it, and we have a solution.

Thanks everyone
_________________________
LTJ

Top