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?
