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

Need help? Post your questions here.

Moderator: moderators

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

Postby KoRnKloWn » Thu Oct 30, 2014 10:44 pm

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?
Last edited by KoRnKloWn on Fri Oct 31, 2014 7:47 pm, edited 1 time in total.
KoRnKloWn
 
Posts: 3
Joined: Thu Oct 30, 2014 10:41 pm

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

Postby gurutech » Fri Oct 31, 2014 2:25 pm

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.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

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

Postby KoRnKloWn » Fri Oct 31, 2014 7:46 pm

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.
KoRnKloWn
 
Posts: 3
Joined: Thu Oct 30, 2014 10:41 pm

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

Postby KoRnKloWn » Fri Oct 31, 2014 9:03 pm

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
KoRnKloWn
 
Posts: 3
Joined: Thu Oct 30, 2014 10:41 pm

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

Postby gorman » Thu Dec 18, 2014 5:30 pm

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?
gorman
 
Posts: 27
Joined: Tue Sep 16, 2014 10:34 am


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests