[Icecast] Newbie Question

Maarten Bezemer mcbicecast at robuust.nl
Sat Oct 22 08:47:47 PDT 2011


On Thu, 20 Oct 2011, Sean Anthony wrote:

> I would hazard a guess that infact on the icecast server you would
> want to set this to a rfc 1918 ip on your lan such as 192.168.x.y or
> whatever range you are using on your home network, then you would need
> to forward the relevant ports through from your router to the icecast
> server.

You need to keep in mind though, that NAT settings such as port 
forwarding, not always work as expected, when trying to access NAT-ed 
services on the public IP from inside the same NAT.

Example: given external IP-address, you can redirect external port 
8000 to internal host using the modem/router's 
configuration pages. That way, connections to will be 
forwarded to and work as expected.

However, when trying to connect to from, say, 
which is another box inside the same LAN as the icecast server, may not 
always work. Connections from anywhere else on the internet WILL work.

Reason for this: router rewrites:
from= to=
to something like:
from= to=
However, when this packet arrives at, its reply will go 
to, but at this will not match with 
its outgoing connection to
Several routers also rewrite the from-addresses when they come from inside 
the LAN, such that the reply will also go through the router and be 
re-translated back to the client.
A lot of routers, especially cheap/bulk ISP-provided modem/routers, fail 
to also do this extra translation.

And as a free bonus: you might also need to check and tune your 
modem/router's firewall settings to actually allow traffic to pass over 
port 8000.


> On 10/20/11, gary at greatoldies.co.uk <gary at greatoldies.co.uk> wrote:
>> Hello,
>> I'm trying to set up to stream myself as opposed to a remote server. I
>> should have bandwidth as I'm on BT Infinity, upstream is around 3mbps.
>> I'm streaming using Sam, and both the encoder in SAM and Icecast server
>> appear to be running. Checked the log file and all seems well.
>> When I set my IP adress to localhost I can tune in on my host machine,
>> however when I try to use my IP address, I can't connect.
>> Any suggestions?
>> Many thanks
>> Gary
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
> -- 
> Sent from my mobile device
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

More information about the Icecast mailing list