Can't connect from school network

General discussions.

Moderator: moderators

Can't connect from school network

Postby Nick0Teen » Thu Jan 10, 2013 3:06 pm

Hi, my subsonic server is using port 4040 and I can acces it from anywhere (3g, wi-fi) except the school network, probably because it's blocking all ports ecxept 80 and 443. But I can't forward 80 because it already in use and I'm not allowed to forward 443. Is there any other way to keep using 4040 without something like VPN or proxy (because I still want to use iSub)?
Nick0Teen
 
Posts: 5
Joined: Thu Jan 10, 2013 2:58 pm

Re: Can't connect from school network

Postby bushman4 » Thu Jan 10, 2013 3:46 pm

No. You cut out the only two ways I know in your last sentence... VPN or Proxy (reverse proxy, actually).

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: Can't connect from school network

Postby daneren2005 » Thu Jan 10, 2013 3:49 pm

Lookup how to setup a reverse proxy with something like Apache or Nginx. It will allow you to access subsonic from domain.com/subsonic instead of domain.com:4040
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Can't connect from school network

Postby bushman4 » Thu Jan 10, 2013 4:02 pm

daneren2005 wrote:Lookup how to setup a reverse proxy with something like Apache or Nginx. It will allow you to access subsonic from domain.com/subsonic instead of domain.com:4040

... but it will probably break minisub...

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: Can't connect from school network

Postby daneren2005 » Thu Jan 10, 2013 4:19 pm

True. There is probably a way to setup a reverse proxy to minisub as well. Or you might just move minisub out to it's own separate directory under /var/www which is how it was designed to be used originally anyways.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Can't connect from school network

Postby Nick0Teen » Thu Jan 10, 2013 5:23 pm

Thanks for the replies, but there's one problem I think. If you set up a reverse proxy, it has to be on the server which has port 80 forwarded, right? I kinda don't have access to that server...
Nick0Teen
 
Posts: 5
Joined: Thu Jan 10, 2013 2:58 pm

Re: Can't connect from school network

Postby daneren2005 » Thu Jan 10, 2013 5:26 pm

Lol then you are probably SOL. You can't change the behavior of a server without access to it...
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Can't connect from school network

Postby Nick0Teen » Thu Jan 10, 2013 5:38 pm

I have access to the server which runs subsonic and I can forward whatever I want.. exept port 80 and 443. It's in use by some not editable camera system, so yeah... :P
Nick0Teen
 
Posts: 5
Joined: Thu Jan 10, 2013 2:58 pm

Re: Can't connect from school network

Postby iwill » Sat Jan 12, 2013 1:43 am

bushman4 wrote:
daneren2005 wrote:Lookup how to setup a reverse proxy with something like Apache or Nginx. It will allow you to access subsonic from domain.com/subsonic instead of domain.com:4040

... but it will probably break minisub...

Glenn


I actually didn't even consider this as the reason that MiniSub stopped working for me... why exactly does putting Subsonic behind a reverse proxy break MiniSub?
User avatar
iwill
 
Posts: 34
Joined: Wed Feb 29, 2012 7:38 pm
Location: Austin, TX

Re: Can't connect from school network

Postby Nick0Teen » Thu Jan 24, 2013 5:47 pm

I do have acces to the server with port 80 now, but I couldn't figure out how to use exteral-ip.com/subsonic ... How to do this? The server which has port 80 forwarded is a Synology server (running linux).
EDIT: is it true I just have to do this:
ProxyPass /subsonic http://internal-ip:4040
ProxyPassReverse /subsonic http://internal-ip:4040
Nick0Teen
 
Posts: 5
Joined: Thu Jan 10, 2013 2:58 pm


Return to General

Who is online

Users browsing this forum: No registered users and 18 guests