View Full Version : Setting up a relay server on the same network
Camman
7th November 2001, 21:56
Just out of curiosity, I have two computers running on the same subnet under one router. The main computer being 192.168.0.2 which is streaming the audio and running DNAS, I am trying to set up a second machine under 192.168.0.6 to relay that server, so I set SrcIP to 192.168.0.2 and RelayServer to 192.168.0.2 and RelayPort to 8000, this isn't working, it keeps saying 'no source' on the second DNAS server, any reason why?
radiowazee
15th November 2001, 00:27
In the .6 server's shoutcast config file leave SRCIP set to ANY. This is the IP on that local box to which it will listen for INCOMING connections.
Your setting for relay server should be correct.
Remember, tho, if both of those boxes are inside a firewall/gateway and sharing the same outside IP address you'll need to setup the .6 box to listen on a different port and set your gateway to route that outside port to the .6 box.
For example... if your OUTside IP was 111.222.111.222 you'd do this
111.222.111.222:8000 points to your 192.168.1.2:8000
111.222.111.222:8001 points to your 192.168.1.2:8001
111.222.111.222:9000 points to your 192.168.1.6:9000 (or whatever)
111.222.111.222:9001 points to your 192.168.1.6:9001
Of course, your .6 box can listen on 8000/8001 if your gateway can do routes to specific ports (i.e. outside 9000 to inside 9000). Most gateways can't do this so you'll need to listen on 9000/9001 -- or whatever.... you get the idea.
All this routing stuff only applies if you want to access your .6 box from outside your network on a shared IP address. If you're only connecting listeners to your .6 box from inside your network just ignore all that jazz :)
Hope this helps!
Howard @ Radio Free Wazee
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.