|
From: ross p. <ras...@ya...> - 2006-04-10 04:10:59
|
Well, I found out that it is connecting through PPPoA, and it must be a DSL router because I have wireless gateway. Tomorrow, I will try bypassing the DL firewall, and connect my server directly to the internet, and see if I can connect like that. Then I should be able to determine if the problem is with the DSL router, or my firewall. In the meantime, does anyone else have any suggestions to offer?
Tarnai György <tar...@r-...> wrote: Interesting... I would approach this problem by checking if DL is really the problem in this case. You can do that by connecting your computer on the network between your DSL "modem" (which I assume is a broadband router actually) and DL, on the 192.168.0.xxx subnet, and try to connect to the stream through DL via it's external IP (192.168.0.3). If that doesn't work try moving the server to the same network and subnet and try if you can access it from the internet through your DSL modem. In this way you can make sure the problem is really with DL and not with your DSL modem.
On the other hand there might be a problem with the firewall rules, for instance I'm not sure that ShoutCast servers are using TCP to stream media or it may be using TCP connections that don't work well in some NAT scenarios. May be worth to check that.
Also I would check what does this DSL "modem" really do. DSL modems (at least here in Hungary) are devices that interfaces with the DSL network and allows to initiate the connection via PPPoE. DSL routers are devices where you can connect some form of internet connection (Fixed IP, DHCP or PPPoE client) via its WAN ethernet interface and routing or NATing it to client machines on the internal network via it's internal ethernet interface. Of course there are lots of devices now that are combining some or more of these features for ex.
DSL interface routers or boadband routers with direct DSL connection so it is not straightforward what your device is capable doing not to mention that a lot depends on the internal software it is using.
And at last but not least it would be better if you'd sent DL's exact network configuration (IP's, subnet masks, gateway, etc.) to check there's no problem there.
Best regards:
George Tarnai
----- Original Message -----
From: ross paskett
To: dev...@li...
Sent: Friday, April 07, 2006 8:58 PM
Subject: [Devil-Linux-discuss] port forwarding
I am running an internet server on my local network. The server streams media through: ip is 192.168.1.7 port 8007. I have port forwarding setup in my firewall.rules file, and I have turned it on my DSL modem. On my DSL modem, the rule is:
Forward ports 8000-8010 to machine 192.168.0.3(devil linux), then devil linux should forward connections on port 8007 to 192.168.1.7(internal radio server), but when I try to connect to my machine from the outside world, it can't. I can connect and stream my music internally, from windows or mac, just not from the outside world. Internally, I just connect to 192.168.1.7:8007 in winamp, and it plays my music. can someone help? below is the port forwarding section of my firewall.rules file.
# Uncomment/modify the next 4 lines to forward a service to an internal IP.
SERVER_IP=192.168.1.7 # Internal IP of server.
PORT=8007 # 22 = SSH. Change to 80 for web server, etc.
${IPTABLES} -A PREROUTING -i ${OUT_DEV} -t nat -p TCP --dport $PORT -j DNAT --to ${SERVER_IP}:${PORT}
${IPTABLES} -A FORWARD -p TCP -d ${SERVER_IP} --dport $PORT -i ${OUT_DEV} -o ${INT_DEV} -j ACCEPT
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
ross paskett
ras...@ya...
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. |