[Icecast] How to reach listeners behind corporate firewall

Dave Pascoe davekm3t at gmail.com
Tue Jun 7 16:07:31 PDT 2005


> 2. If you run a webserver on the 80 port, you can set up the webserver
> to relay the stream through it. If you use apache, you need something
> like this in your httpd.conf:
> 
> <VirtualHost IP_ADDRESS>
>     ServerName stream.company.com
>     ErrorLog /var/log/apache/stream_error.log
>     CustomLog /var/log/apache/stream_access.log combined
>     ProxyPass / http://127.0.0.1:8000/
>     ProxyPassReverse / http://127.0.0.1:8000/
> </VirtualHost>
> 
> After this the users can connect to
> http://stream.company.com:80/[stream_path].
> This case in the stream's log all connections come from 127.0.0.1, but
> the original IP addresses are recorded in the apache's log.

This solution works well, but I wanted to note one thing I discovered
when testing it.  You need to open the URL in the media player for
this to work.  If you hyperlink to, say:

http://stream.company.com:80/[stream_path].m3u

then the client will be redirected to http://icecast-host.company.com:8000/

-Dave Pascoe
 LiveATC.net


More information about the Icecast mailing list