https for subsonic server

Need help? Post your questions here.

Moderator: moderators

https for subsonic server

Postby flydeep » Mon Aug 25, 2014 3:39 pm

My Setup:
I am running an unraid server with a vpn service and realizing that it poses significant problems in making the subsonic (madsonic version) server visible to WAN. After much fiddling I am getting there .... unraid doesn't have iptables installed and cannot vpn bypass a port in server.

Current Solution:
With Private Internet Access as the VPN provider, they allow one port on the WAN to be visible outside and this port is allocated randomly. I have a script that monitors which port is opened and I restart subsonic server automatically with that port (can be either http or https). This part for now works fine with subsonic server on regular http and I can access my subsonic server using http://name.subsonic.org

Problem:
However I rather prefer https and it appears that subsonic server cannot handle https directly - http has to be enabled for xxx.subsonic.org and my local subsonic server redirects the incoming connection to the https port automatically. This requires that I have two ports open and with the above VPN problem I can have only one port open anytime.

Is there a way to have the subsonic server point to the correct https port directly rather than do this redirection which requires two open ports on my WAN? Is there a command line to update the subsonic server manually?
flydeep
 
Posts: 1
Joined: Mon Aug 25, 2014 3:22 pm

Re: https for subsonic server

Postby vistal » Wed Sep 03, 2014 8:02 pm

I'm not really clear on what you're trying to do here.

Private Internet Access is for anonymizing your outgoing/incoming traffic, not for connecting back to your network from outside. It is going to make things a nightmare of routing if you try and run that directly from your server while simultaneously serving over your WAN. If you are trying to connect to your network from the outside over vpn you should be running an openvpn server (or similar) of some sort.

Secondly, subsonic can in fact handle https directly, as I have it running currently on my own domain in https with only 1 port open that forwards to the https port on the subsonic server. I'm not sure what you mean by the http://name.subsonic.org as that is just a domain name independent of the subsonic server itself. Can you get to https via your WAN address?
vistal
 
Posts: 7
Joined: Wed Sep 03, 2014 5:58 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 34 guests