Old 14th June 2013, 16:34   #1
Epyx
Junior Member
 
Join Date: Jun 2013
Posts: 2
Disable IP Address rewrite

Hello,

i have set up a shoutcast 2 server on my debian linux system...
its all working and with port forwarding i can access the website via http://<ext ip>:8000/

So i am browsing to my second stream which is online on http://<ext ip>:8000/index.html?sid=2

Then i click on the "Listen" Button which opens the "http://<ext ip>:8000/listen.pls?sid=2" playlist in vlc player...

but then the ip address is changed to the internal ip and the stream cannot be started...

i checked the VLC file and saw that its trying to open the following url:

http://<int ip>:8000/stream/2/
-> http://192.168.2.1:8000/stream/2/

which is the internal ip address of my debian server...

how can i deactivate this rewrite rule??

this is the "listen.pls" file which was opened from the external ip address:
Quote:
[playlist]
NumberOfEntries=1
File1=http://192.168.2.1:8000/stream/2/
Title1=My Station
Length1=-1
Version=2
- Thanks
Epyx is offline   Reply With Quote
Old 14th June 2013, 16:41   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
is partly a bug in the DNAS and partly an unimplemented feature. as the DNAS attempts to determine the appropriate address to use for the urls in playlists but it gets it wrong at times causing it to show the local LAN IP instead of an external one.

with a fixed version of the DNAS (should be a in a few weeks when a build with the fixes in will become available), it should just work without needing to mess around with configs. however if that build still doesn't work as expected, then you would be able to use the 'destip' option and set a specific DNS / IP value for it in there. though in that case, i'd prefer to know so it can be debugged and fixed as it should just work without doing config changes.
DrO is offline   Reply With Quote
Old 14th June 2013, 16:51   #3
Epyx
Junior Member
 
Join Date: Jun 2013
Posts: 2
Thanks!

I will check the next release and post if the bug is fixed then
Epyx is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump