Page 1 of 1

Port forwarding?

PostPosted: Tue Mar 30, 2010 11:15 pm
by TimK
I am SO confused.

I have Subsonic running on an Ubuntu Linux box. Because my router apparently is not UPnP, I have disabled port forwarding in the Subsonic settings. I have donated, gotten a license key, and registered a .subsonic.org name for use over the Web.

If I go to the .subsonic.org name from the Linux box, it lets me log in and all is copacetic: I can play music, etc. (EDIT: Actually, sort of true; I can get into the player, change my account settings, etc., but I can't get any music to actually PLAY.)

I cannot reach the .subsonic.org name from:
- a Macbook connected to the same Wi-Fi network as the Linux box;
- an Android phone using the Subsonic Android client, over the same Wi-Fi network;
- the same Android phone (which happens to be a Nexus One on the T-Mobile network), with Wi-Fi disabled (so it's using T-Mobile's network).

I've probably done the port forwarding wrong, but I have no idea how to even begin diagnosing the problem. Any ideas?

[EDIT: I totally forgot to mention that I attempted to open the correct port on my router...but honestly, I'm not sure what port to open. This whole area of setup needs much better coverage here on the Web site. Anyway, I opened port 4040 after finding that the .subsonic.org name redirects to port 4040 on localhost.]

Thanks,
Tim

Port forwarding

PostPosted: Sun Apr 04, 2010 8:50 pm
by Rudolfje
What modem/router do you use?
In some routers you only have to do port forwarding, in others you have to configure the firewall as wel.
You have to point port 4040 to the (fixed) internal ip of your Ubuntu box

Your subsonic.org address is pointing to an external ip address. If your internal to that address, it will most probably not work. You can reach Subsonic at the internal ip of your Ubuntu box, for example: http://192.168.1.3:4040.

Hope this helps.

PostPosted: Mon Apr 05, 2010 2:16 am
by TimK
Hi Rudolf,

Thanks for replying.

This is the portforward.com page for the router I'm using:

http://portforward.com/english/routers/ ... Bindex.htm

Note that there is no link for Subsonic on that page.

When I tried to follow some of the instructions for my router on that site, I got lost before I knew what was happening.

It doesn't help that the interface shown on the default page for my router:

http://portforward.com/english/routers/ ... efault.htm

is not the interface I'm seeing -- although, interestingly, it is the interface I was seeing when I got this router with my fiber-optic service in February. Apparently the firmware has been updated. Anyway, it is similar enough that I was able to follow the instructions on that page, but that left me unsure whether I'd forwarded the port correctly or just opened the port on the firewall. At any rate, whatever I did doesn't work; Subsonic is not reachable from other computers than the machine on which it's running.

Any pointers or other help would be greatly appreciated.

Thanks,
Tim

PostPosted: Mon Apr 05, 2010 7:59 am
by flacflac
Hey Tim, try this:

1) ping your subsonic address - does it return your actual IP? That portforwarding.com website you linked to displays your current IP, do they match? If not, this is not being updated properly and could be the reason for your issues.

2) turn off your firewall completely - I am not too familiar w/ ubuntu, but you should be able to do that and see if access is not blocked from the OS itself.

3) your router might come with pre-set firewall restrictions, so try to disable those - under "Edit Firewall Settings" you should be able to disable the 'maximum protection' it might be set to. Any success here?

4) Try to work on your port-forwarding issues - starting at page 29 of the manual:

https://fjallfoss.fcc.gov/prod/oet/forms/blobs/retrieve.cgi?attachment_id=652683&native_or_pdf=pdf

ff :shock:

PostPosted: Sat Apr 10, 2010 6:51 pm
by TimK
Sorry for the delay in replying, life got in the way. :)

I've already followed those instructions in the manual. As I said (although I don't think I was clear about what I did), they left me uncertain as to what I'd actually accomplished -- is that port forwarding, or am I just opening the port in my firewall?

I have no intention of turning off the firewall even temporarily. At least, not on both machines (router and Linux machine; actually I'm not even sure a firewall is running on the Linux machine that's running the subsonic server and has a connected external hard drive with my music).

Finally, when I ping the [domain].subsonic.org alias that I'm using, I do not get the same IP address that's reported by that page at portforward.com. Any suggestions on why this would be the case and how to fix it?

Thanks,
Tim