Page 1 of 1

[SOLVED] Anyone have luck connecting through a VPN yet???

PostPosted: Thu Oct 30, 2014 10:44 pm
by KoRnKloWn
I recently setup a Private Internet Access VPN on my computer, however I have to disable it whenever I want to use Subsonic. Anyone have any luck getting a Subsonic working through a VPN yet?

Re: Ayone have luck connecting through a VPN yet???

PostPosted: Fri Oct 31, 2014 2:25 pm
by gurutech
Is this a VPN directly into your home network?

If so, you will need to use the internal IP address (or host name) of the Subsonic server. Not the "xxxxxxx.subsonic.org" address.

Re: Ayone have luck connecting through a VPN yet???

PostPosted: Fri Oct 31, 2014 7:46 pm
by KoRnKloWn
No I'm using a VPN service for privacy, I was using Private Internet Access.

Actually I figured out how to get it to work through a VPN service, the VPN only needs to have port forwarding, which PIA has on certain servers, but those servers are really far away from me and go too slow, not to mention the actual PIA app doesn't work on my computer and the only other way to use port forwarding is horribly diffictult with. So I tried out Mullvad VPN, their port forwarding can be handled by any of their servers, and you add ports directly from the website, so it's much easier. Once you have a port forwarded you just switch Subsonic to that port using this file '/etc/default/subsonic', then restart the service with 'sudo service subsonic restart'. Afterwords you need to open the subsonic settings and uncheck the port forwarding feature, then click 'Save' under network so it'll update to the IP address you're using. Even when Mullvad changes your IP address it'll still work, as long as it doesn't change servers, whenever it changes servers you need to resave so it updates to the new IP address.

Re: [SOLVED] Anyone have luck connecting through a VPN yet??

PostPosted: Fri Oct 31, 2014 9:03 pm
by KoRnKloWn
Should note that to make it even more smooth I created an account with DuckDNS, and use that instead of the subsonic DNS, now whenever my VPN ip changes it'll be updated at the domain name.

So the full solution is this:
1. Use a VPN service that supports port forwarding
2. Set up a forwarded port through the VPN
3. Set Subsonic to use the new forwarded port
4. Get a DDNS service that supports dynamic IP, DuckDNS is free and completely cross platform (and easy to use/setup)
5. Use your new DDNS domain name and forwarded port to connect (I've noticed it doesn't work in a browser (for some reason), but it works flawlessly in other apps

Re: [SOLVED] Anyone have luck connecting through a VPN yet??

PostPosted: Thu Dec 18, 2014 5:30 pm
by gorman
Anybody managed to solve this for browser connections?

I have a DDNS service, provided by my VPN service, that works flawlessly for D-Sub (Android app). But when I try using the very same data on a browser, it fails to connect. What's the problem?