| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Jan 23, 2007 3:29 pm Post subject: How to allow only 2 IPs to listen to the server? |
|
|
Hey there
I have read the documentation but nowhere found how to make an IP restriction.
I want to allow only 2 IPs to access the server. What should I add and where?
Something like the function in shoutcast I mean... |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Jan 24, 2007 12:00 pm Post subject: |
|
|
| is nobody able to answer? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jan 24, 2007 12:34 pm Post subject: |
|
|
The only way in 2.3.1 in to use something like listener auth via url. Usually, IP restrictions are based on what IPs you want to ban but I suppose an allow mechanism could be added.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Jan 24, 2007 1:13 pm Post subject: |
|
|
| Well, I thought that. But HOW? What should I add in the conf and where? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Jan 24, 2007 2:33 pm Post subject: |
|
|
As with any listener auth, the details of the auth go in the <mount> section relating to the mountpoint the stream is on. The sample xml files we ship have an example, but you'll need to do the script (php or whatever) to do the IP filter itself.
Personally I would just use firewall rules to just allow those 2 IPs.
karl. |
|
| Back to top |
|
 |
|