Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Any Linux SHOUTcast broadcasters here? I need some help! SOS

    Is there anybody here who is successfully streaming over the SHOUTcast server for LINUX? I have a big, big problem, and no one seems to know how to help.

    I am running RedHat 9 with kernel 2.4.8-20. No matter what I try, I cannot get my Linux server to penetrate what it SAYS is a firewall-- dreaded "Disable your NAT/Firewall message" always comes up, and listeners are disconnected after exactly 62 seconds.

    Yes, this has all the marks of a true firewall or network router problem, but the firewall has, by all accounts, been configured to open for SHOUTcast.

    I have successfully streamed over the Mac Shoutcast server and the Windows server, and from the same IP address that I now have my Linux box on. I know how to configure a SHOUTcast server. I have set up iptables in my LInux box to open on the ports needed to stream (8000 and 8001), and other SHOUTcast users have confirmed that these iptable rules should do the trick:

    # Firewall configuration written by lokkit
    # Manual customization of this file is not recommended.
    # Note: ifup-post will punch the current nameservers through the
    # firewall; such entries will *not* be listed here.
    :INPUT ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    :RH-Lokkit-0-50-INPUT - [0:0]
    -A INPUT -j RH-Lokkit-0-50-INPUT
    -A FORWARD -j RH-Lokkit-0-50-INPUT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7998 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7999 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 8000 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 8001 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT
    -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT
    -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT
    -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT
    :INPUT DROP [16986:724916]
    :FORWARD DROP [0:0]
    :OUTPUT DROP [409:31084]
    :SERVICES - [0:0]
    -A INPUT -d -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A INPUT -i lo -j ACCEPT
    -A OUTPUT -s -o eth0 -j ACCEPT
    -A OUTPUT -o lo -j ACCEPT
    -A OUTPUT -j LOG --log-prefix "[FILTER/OUTPUT] "
    -A SERVICES -d -i eth0 -p tcp --dport 8000 -j ACCEPT
    -A SERVICES -d -i eth0 -p tcp --dport 8001 -j ACCEPT
    -A SERVICES -d -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT

    So, if firewalling is not the problem, and the network I'm on DOES allow for broadcasting--I've been doing it for more than a year on Mac and Windows--then what else could be the problem?

    Could the LAN driver possibly be causing a problem, for example?

    Any Ideas would be very appreciated. I am patiently trying over and over to find a solution.

    Thank you.

  2. #2
    Linux Guru
    Join Date
    Mar 2003
    Have you tried entirely disabling your firewall? When troubleshooting firewall issues, I always start there. That will rule out any other problem right away,

    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts