port forwarding solutions sharing

General discussions.

Moderator: moderators

port forwarding solutions sharing

Postby dirkalberteverts » Wed May 11, 2011 3:47 pm

Hello all,after 2 months of trying i finally got ss accessable from the internet.
My suggestion is to share our solutions into one topic,with the description how you managed it.After a while we could post the general solution in the ss wiki.
Don forget to mention witch os you are using and with router you have.
I will post my solution asap.

:lol: :lol:
dirkalberteverts
 
Posts: 5
Joined: Sat Apr 02, 2011 6:12 am

Postby dirkalberteverts » Wed May 11, 2011 4:50 pm

i have made ss listen local on port 8080 and on https on port 443.
in my router (thomson 789vn) i have created a new game called subsonic.I have made 2 rules for this game:







Protocol Poortbereik Omzetten naar ... Triggerprotocol Triggerpoort



TCP 8080 - 8080 8080 - 8080 - -


UDP 8080 - 8080 8080 - 8080 - -


TCP 443 - 443 443 - 443 - -


UDP 443 - 443 443 - 443 - -
Then i have asigned this game to my pc.

I switched off my firewall and looked at http://www.canyouseeme.org/ if my ports were open.
The importend port to be opened was 443.
port 8080 is for the local network and is not needed for outside connections.
goto ss networkmenu and click the 2 boxes on and hit save.
If all is right you will see that the router is found and the message for your ss adress say adress is registred but could not authenticate it.
Next thing to do is to check your connection outside of your network,it is the only way to see if it really works.
After reactivate my firewall the connection was gone,so i had to make a fw rule to open it again.
Strangely the messages in ss menu-network say that no router was found and could not connect to my adress.I could however make a connection to my ss server and login.
I do not know why,only it still works.
I will reply on the reactions to make this topic work so we all can enjoy ss.
I have mandriva 2010.2 as OS.
dirkalberteverts
 
Posts: 5
Joined: Sat Apr 02, 2011 6:12 am

Postby GJ51 » Fri May 13, 2011 2:54 pm

Start with a fresh Java install to the latest version. If you have Java already, uninstall, then do a clean install of the latest version. If you use a 64 bit browser be sure to get both 32 & 64 bit Java.
http://www.java.com/en/download/manual.jsp If you have SS installed, uninstall it and delete the Subsonic directory (Windows).
Disable any DHCP services in any VOIP equipment or other additional routers you have. Only ONE router/device per network should handle DHCP assignments.

Most problems are due to improper setup on the router. Setting a fixed internal ip address for the server and proper port forwarding rules on the router are essential for long term stability.

Never use port 80 or 443 - ISP's often use or block them and these are also the default ports on WHS for the remote login page. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failures.

READ: http://monroeworld.com/android/subsonic/ This is the Windows tutorial but most of the concepts apply to any setup. Specific setup instructions for other Operating Systems are available in the Tutorials section. http://forum.subsonic.org/forum/viewforum.php?f=6 and on the Subsonic website at http://www.subsonic.org/pages/installation.jsp

In Subsonic Settings/Network - UNCHECK " Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding)." make sure to hit the SAVE button, you may have to scroll down to see it depending on your screen size. UPnP or Plug & Pray works sometimes, but not very often and you're better off learning what's going on anyway. You're dipping your toe into the network mgmt. thing anyway, might as well learn what's going on as home networks don't get simpler as time goes on. As your network gets more complex, you're going to have to learn this stuff! No time like the present.

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHCP, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080 - 440, 8081 - 441, etc. Skip 8083 - 443 to avoid conflicts with WHS.

Set up port forwarding in your router to direct traffic on the selected port to your server. Consult your router documentation to do this, they are all a bit different.

Learn your external IP address assigned by your ISP. Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.

Test your setup by entering your external IP:port# to see if it connects. e.g. http://98.117.185.5:8084/ If it works, you're good to go.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby crooksy » Fri May 13, 2011 3:29 pm

..
Last edited by crooksy on Fri May 13, 2011 6:59 pm, edited 1 time in total.
crooksy
 
Posts: 17
Joined: Mon Aug 02, 2010 6:42 pm

Postby dirkalberteverts » Fri May 13, 2011 4:47 pm

GJ51 wrote:Start with a fresh Java install to the latest version. If you have Java already, uninstall, then do a clean install of the latest version. If you use a 64 bit browser be sure to get both 32 & 64 bit Java.
http://www.java.com/en/download/manual.jsp If you have SS installed, uninstall it and delete the Subsonic directory (Windows).
Disable any DHCP services in any VOIP equipment or other additional routers you have. Only ONE router/device per network should handle DHCP assignments.

Most problems are due to improper setup on the router. Setting a fixed internal ip address for the server and proper port forwarding rules on the router are essential for long term stability.

Never use port 80 or 443 - ISP's often use or block them and these are also the default ports on WHS for the remote login page. 8080,8081, work fine. 808X always works. I've seen others use different port numbers that have caused install failures.

READ: http://monroeworld.com/android/subsonic/ This is the Windows tutorial but most of the concepts apply to any setup. Specific setup instructions for other Operating Systems are available in the Tutorials section. http://forum.subsonic.org/forum/viewforum.php?f=6 and on the Subsonic website at http://www.subsonic.org/pages/installation.jsp

In Subsonic Settings/Network - UNCHECK " Automatically configure your router to allow incoming connections to Subsonic (using UPnP or NAT-PMP port forwarding)." make sure to hit the SAVE button, you may have to scroll down to see it depending on your screen size. UPnP or Plug & Pray works sometimes, but not very often and you're better off learning what's going on anyway. You're dipping your toe into the network mgmt. thing anyway, might as well learn what's going on as home networks don't get simpler as time goes on. As your network gets more complex, you're going to have to learn this stuff! No time like the present.

Manually assign a fixed intenal IP and static route to your server at the upper end of the address range of the router, out of the way of DHCP, e.g. 192.168.1.254

Set up your router manually. uPNP might work, but most often it doesn't. Learing how to do it will be a skill you'll love having as your network grows.

Check the Subsonic Control Panel to make sure it's using the right port you're going to use. I typically use 8080 - 440, 8081 - 441, etc. Skip 8083 - 443 to avoid conflicts with WHS.

Set up port forwarding in your router to direct traffic on the selected port to your server. Consult your router documentation to do this, they are all a bit different.

Learn your external IP address assigned by your ISP. Go to http://www.canyouseeme.org/ enter your SS port number and click the Check box to be sure the Subsonic port is open.

Test your setup by entering your external IP:port# to see if it connects. e.g. http://98.117.185.5:8084/ If it works, you're good to go.

you can never go from inside your network to your outside networkadress.This explaining is old and not accurate enough for most of us.
It is my attention to get all the problems together so we can get a lot off solutions for a lot off different problems with portforwarding and different routers.
but thanks anyway for your contribution.
dirkalberteverts
 
Posts: 5
Joined: Sat Apr 02, 2011 6:12 am

Postby GJ51 » Fri May 13, 2011 5:00 pm

Wether or not you can go from inside to outside actually depends on your router.

Yes these instructions are old. That's because they are a summary of helping dozens of users in these fora getting their SS installations up and running. The accuracy and effectiveness of these instructions has been the result of the feedback given by those who used them.

The only inaccuracy is the previous post. :wink:

But thanks for your kind words anyway.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby crooksy » Fri May 13, 2011 6:42 pm

..
crooksy
 
Posts: 17
Joined: Mon Aug 02, 2010 6:42 pm

Postby DJC » Mon May 16, 2011 2:40 am

I could finally made it after I created a special rule in Windows Firewwall, which allowed incoming connections on the specified port, even though subsonic appeared as allowed in the Firewall
DJC
 
Posts: 11
Joined: Sat Apr 30, 2011 7:25 pm

DynamicDNS

Postby grant420 » Wed May 18, 2011 4:06 pm

To add one thing to the excellent list of steps GJ51 has compiled:
If you are like most home internet users you will have a dynamic (i.e. changing) public IP address assigned to you by your internet service provider. To avoid having to change the public IP used to access your subsonic service running behind your home router, set up an account with the free DynamicDNS (www.dyndns.com) service, and install the free updater app, and then you never have to worry about changing your settings on your Droid.

Grant
grant420
 
Posts: 49
Joined: Fri Apr 08, 2011 8:07 pm

Re: port forwarding solutions sharing

Postby HighlandRanger » Wed Jun 20, 2012 3:23 pm

Ok, I have tried everything here with no good results.

My Subsonic was working great for over a year and then last week... it went down. I cannot access it from outside the LAN. I can access it from other computers internally, but not externally. What happened? Why did it just STOP working?

When I check the Network Settings in Subsonic I get: Status: xxx.subsonic.org is registered, but could not connect to it. (ConnectTimeoutException)

This is so frustrating. HELP!

I originally had Subsonic automatically configure the router and it had worked for a long time. When everything went down I set-up port forwarding manually and still nothing.

Any ideas???
HighlandRanger
 
Posts: 22
Joined: Wed Jun 20, 2012 3:16 pm

Re: port forwarding solutions sharing

Postby bushman4 » Wed Jun 20, 2012 5:38 pm

If I had to guess, your subsonic server's IP address changed. Verify that the port forwarding rules you set up are still for the correct IP address of the server computer.

Or your ISP is blocking the port that you chose to use. Try the port at canyouseeme.org and see if it reports open.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: port forwarding solutions sharing

Postby HighlandRanger » Wed Jun 20, 2012 6:18 pm

canyouseeme.org reports it cannot see the port. Reason: Connection timed out.
HighlandRanger
 
Posts: 22
Joined: Wed Jun 20, 2012 3:16 pm

Re: port forwarding solutions sharing

Postby bushman4 » Wed Jun 20, 2012 7:13 pm

Did you verify that the IP address you are forwarding to is the one assigned to the server?

If you connect from a LAN attached computer, does the address and port you are redirected to match the ones you are forwarding?

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: port forwarding solutions sharing

Postby HighlandRanger » Wed Jun 20, 2012 7:35 pm

Yep... I went to a LAN Connected computer and it is viewing the correct address & port.
HighlandRanger
 
Posts: 22
Joined: Wed Jun 20, 2012 3:16 pm

Re: port forwarding solutions sharing

Postby grant420 » Wed Jun 20, 2012 7:53 pm

I'll bet your ISP changed your outside (i.e. publicly accessible) IP address.

go to ipchicken.com (or the other site mentioned above) and use that to access subsonic from the outside.
grant420
 
Posts: 49
Joined: Fri Apr 08, 2011 8:07 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 39 guests