LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2010, 10:38 AM   #1
smart_shell
Member
 
Registered: May 2009
Location: NYC
Distribution: Ubuntu 10.04 LTS
Posts: 52

Rep: Reputation: 0
shoutcast


hi,
I want to do shoutcast radio.
i have adsl modem with static ip 233.13.13.1 and internal lan interface 192.168.1.1.
on nat (adsl) i did port forwarding to my linux router(192.168.1.222)
adsl:8000->192.168.1.222:8000
my shoutcast radio on computer in internal network(10.15.0.0) with ip adress 10.15.0.89.
on linux router i have two lan interfaces (eth0 192.168.1.222) and eth1 10.15.0.222.
i have did iptables rules on linux router(10.15.0.222).

iptables -t nat -A PREROUTING -p tcp --dport 8000 -j DNAT --to-destination 10.15.0.89

iptables -t nat -A POSTROUTING -d 10.15.0.89 -p tcp --dport 8000 -j MASQUERADE

but it doesn't work.

if i try to connect to my server via linux router from my network it works well(music plaing).
telnet 10.15.0.222 8000
if i try to connect to my server via internet it doesn't work.
telnet 233.13.13.1 8000

OS cent os 5.4
radiocast ->Shoutcast

thnx

Last edited by smart_shell; 11-22-2010 at 10:25 AM.
 
Old 11-21-2010, 09:39 PM   #2
peterson.julia
Member
 
Registered: Nov 2009
Distribution: All flavors...
Posts: 37

Rep: Reputation: 1
Tough to guess what it can be?! Configuration, maybe your ISP is blocking something, firewall????? No clue... Post your configs....
 
Old 11-21-2010, 09:49 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,373
Blog Entries: 16

Rep: Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147
peterson.julia has a good idea. Some ISPs block ports because they don't want private customers running servers. I know that my current one blocks port 80. (My previous one did not. I moved.)

You might try searching for "[ISPNAME] port 80."
 
Old 11-21-2010, 11:23 PM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 2,981

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
You firewall is probably blocking new,unrelated incoming high ports 1024:65535, or you might be getting snagged on the internal network before you ever get outside with telnet.
 
Old 11-21-2010, 11:34 PM   #5
smart_shell
Member
 
Registered: May 2009
Location: NYC
Distribution: Ubuntu 10.04 LTS
Posts: 52

Original Poster
Rep: Reputation: 0
Sorry, my firewall rules blocked forward rule eth1 and eth0
i added
itables -I FORWARD 2 -i eth1 -o eth0 -j ACCEPT
now radio works
 
Old 11-22-2010, 07:19 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,373
Blog Entries: 16

Rep: Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147Reputation: 3147
Thanks for filling in the solution. That may help someone who comes later with a similar question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shoutcast Help timmo Linux - Server 3 04-11-2010 07:16 AM
Icecast / Shoutcast Ratclaws Linux - Software 1 03-09-2005 08:19 AM
using streamtuner--shoutcast seaelf Linux - General 0 02-27-2005 06:57 AM
Shoutcast problems.... JNaas Linux - Newbie 9 10-27-2004 10:46 PM
shoutcast problems... questionasker General 5 03-01-2004 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration