|
|
|
|
#1 |
|
Junior Member
|
Port Forwarding.. How to?
Hello boys and girls!
I come to you today with an interesting dilema! First let me say thank you for shoutcast, with out it our radio station would be just a dream. We are hosting our 2 shoutcast servers from spacialnet.com and have specific ports to connect to for our online stream player: http://www.bloodlustradio.net/player...r.php?server=1 This pages uses an embed tag to invoke the stream and play it live. Here is my dilema, many people at work are behind strict firewalls, they can surf the internet thru port 80 but a stream thru some odd port (14080 in this case) is blocked by the firewall. What I'm trying to find is a way to forward the stream from 14080 to 80 so anyone who has internet access will be able to listen to the broadcast from behind their strict firewall. Anyone seen a solution to this problem? I'm fluent in PHP but I can't find any code base for what I want to do. Any help is GREATLY appreciated! ~Uber |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
Well you can't forward your stream from port 14080 to port 80 if you all ready have a web server on port 80.
basicly 1 IP = 1 port. http (web) is port 80 all ready, so you would need another IP address for the stream and you could run the stream on port 80. If there isnt a way for you to get another IP address just for your stream, try using port 8080 for the stream, port 8080 was used for years by http proxies and several firewalls all ready have that open. Make sence?? ~ DK ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#3 |
|
Junior Member
|
Well since the shoutcast server is being hosted by a provider they get to decide what port is being used for the stream. Since they host a number of shoutcast streams it makes sense they need to have that control.
I'm looking for a way to script (perhaps in php? cgi?) a PORT redirect of sorts. Perhaps I would point the embded src to a custom script, which in turns calls up the correct server and port for the stream but sends it via port 80 to the listener. This way the script is connecting at the correct required port to pick up the stream, but the listener doesn't have to have port 14080 open in their firewall since it gets sent to their browser thru a more normal port (like 80). Make sense? ~Uber |
|
|
|
|
|
#4 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
nope. You are talking making a proxy that would take your stream from your hosting provider to port 80 on the internet account. Basicly you cant do this unless your host supports it. If you can SSH to your web host from your PC, you can get around the firewalls however every listener would need to do the same.
So in short there is not a script, it would require a proxy. shoutcast does not proxy. you need something installed on the web host that does this for you. ~ DK ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2006
Posts: 15
|
ok, lets say port 80 is open... how do we have multiple shoutcast on port 80? like club977?
|
|
|
|
|
|
#6 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
They have a cluster (several) servers all running a shoutcast server and relay off each other or vice versa. This is how they have also support 1000's of users.
~ DK ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2006
Posts: 15
|
right, so back to the main idea... how do we manipulate port 13232 to port 80 through a software proxy?
http://www.vanheusden.com/shoutcastproxy/ I got that far, but not sure how to start from there... do i need apache running to have that work? |
|
|
|
|
|
#8 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
not a shoutcast support tool. talk to the person that wrote that proxy.
BTW if you read the shoutcast proxy page you would notice it to stream through a proxy (central server). Not to change the port Shit if you understood webhosting! Just run shoutcast server on port 80 and tada. Which means you can not have a web server running on port 80 on the same IP address/host ~ DK ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Sep 2004
Posts: 8
|
Assold
"hacker"dor do you know a scproxy.cgi ???, its a cgi proxy, easy instalation, but the script not are a free, i can´t find that scritp into internet...
see: http://s4.viastreaming.net/cgi-bin/s....cgi?port=7130 WHY??? anyone??? its a exelent idea for broadcast from the port 80 |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Sep 2004
Posts: 8
|
HELLO?
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Sep 2006
Posts: 254
|
Sorry to bring an old post back, but that scproxy.cgi is very good and could be useful - anyone know if it is available or is it viastreaming's own thing?
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|