Quantcast
Channel: criten.org » Icecast
Viewing all articles
Browse latest Browse all 10

Running Icecast on port 80

$
0
0

Running Icecast on port 80 is a good idea so that users behind corporate firewalls can still access your Icecast feed as you are not directing them to use non-standard ports.

However its not that easy since Icecast isn’t heavily audited for security faults and thus isn’t really setup to run on port 80.

Icecast should not run as root. Linux does not allow non-root users to bind to ports below 1024. So this is a problem.

The work around is to use iptables to redirect requests on port 80 to another port.

I used the following rules:

iptables -A PREROUTING -t nat –dst 8.8.8.8/32 -p tcp –dport 80 -j DNAT –to 8.8.8.8:8080

iptables -A INPUT -p tcp -m state –state NEW –dport 80 –dst 8.8.8.8/32 -j ACCEPT


Viewing all articles
Browse latest Browse all 10

Trending Articles