| View previous topic :: View next topic |
| Author |
Message |
cr08
Joined: 18 Dec 2011 Posts: 4
|
Posted: Sun Dec 18, 2011 2:37 pm Post subject: Slave server redirection and private LAN |
|
|
This is a quick question I was wondering about looking through some of the more recent features of the KH branch.
Here's the scenario. In a current project I am working on I have 2 VPS servers in my posession, both of which have public facing addresses with metered bandwidth and private addressses where they have a direct unmetered connection to each other.
My concern is this: If I decide to have Icecast running on both in a master/slave config and have the slave connect to the master via the private IP, how will that affect redirection from the master server? Given all that I have read up to this point, it seems that it will indeed fail as it will try to push the listening client to the private IP of the slave server which is, of course, inaccessible to them. But I would like to be proven wrong! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Dec 18, 2011 8:07 pm Post subject: |
|
|
If I understand you correctly then as long as you have defined the server-wide <hostname> correctly (public address) then you should be fine.
karl. |
|
| Back to top |
|
 |
cr08
Joined: 18 Dec 2011 Posts: 4
|
Posted: Mon Dec 19, 2011 7:25 am Post subject: |
|
|
| I'll probably have to set this up sometime to test. But to clarify I'm wondering if I have the slave icecast server connect to the master through the private network, will the master be made aware of the public address of the slave server so as to redirect clients to the public address rather than the private one? Or will I just have to beak down and connect across the public network addresses instead? If I set the hostname in the config of the slave server, will it send that to the master and go 'Hey, use this to redirect listeners!' |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Dec 19, 2011 3:39 pm Post subject: |
|
|
The server wide <hostname> is sent to the master for redirection use
karl. |
|
| Back to top |
|
 |
cr08
Joined: 18 Dec 2011 Posts: 4
|
Posted: Mon Dec 19, 2011 4:05 pm Post subject: |
|
|
Thanks! Helps a lot.  |
|
| Back to top |
|
 |
|