INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Connection with VPN does not work  (Read 4535 times)

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Connection with VPN does not work
« on: November 23, 2017, 02:47:11 am »

My JRiver 23 server (64bit running on a W10 PC) is connected to the internet through a VPN. Other server running on the PC housing JRiver works fine (e.g. Teamviewer), JRiver does not
I get the IP using the http://webplay.jriver.com/libraryserver/lookup?id=aabcc utility and I can see the client trying to connect to the reported IP but it fails
Any hints?

Thank you so much
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Connection with VPN does not work
« Reply #1 on: November 23, 2017, 06:12:39 am »

Firewall?

See the topic called Network Access on our wiki.
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: Connection with VPN does not work
« Reply #2 on: November 23, 2017, 07:40:17 am »

thanks but I can access JRiver if VPN is not enabled in W10. I opened the JRiver port in the router and defined the JRiver exception in W10 firewall ... what else?
The wiki did not mention VPN at all
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7805
  • Autumn shade...
Re: Connection with VPN does not work
« Reply #3 on: November 23, 2017, 07:44:47 am »

There's a good chance that this is due to the VPN itself since a lot of them don't allow port forwarding (e.g. so to prevent issues like IP leaks). Unless the VPN supports port forwarding through the VPN tunnel for specified ports you may not be able to get it working. You might want to ask your VPN provider about it, but keep in mind most VPN providers don't allow this or have this as a feature. I can only think of a few VPN providers which have port forwarding as a feature.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Connection with VPN does not work
« Reply #4 on: November 23, 2017, 10:43:53 am »

We'd really need a lot more information about how your VPN is configured to begin diagnosing this problem.  Are you running it yourself at home or using an external pay service?  Which VPN server are you using?  Where are you when you're trying to access it?

Depending on the answers, this could be a NAT reflection issue, a routing issue, or (as Awesome Donkey noted) a port forwarding through the VPN tunnel issue.  Have you verified that you can connect to JRiver from outside your home without using a VPN?  That would help rule out router port forwarding problems.  The easiest way to test it is to turn off wi-fi on your phone, turn on mobile hotspot, connect your laptop to the hotspot and see if you can still access JRiver.  If not and you're using an external VPN server, that's why you cannot access it.
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: Connection with VPN does not work
« Reply #5 on: November 24, 2017, 04:20:30 am »

Are you running it yourself at home or using an external pay service?
The JRiver server runs at home. With no VPN I can access it everytime and everywhere (or so :))
Quote
Which VPN server are you using?  Where are you when you're trying to access it?
the service is purevpn. I connect to two servers (PPTP and SFTP, none works)
Quote
Depending on the answers, this could be a NAT reflection issue, a routing issue, or (as Awesome Donkey noted) a port forwarding through the VPN tunnel issue.  Have you verified that you can connect to JRiver from outside your home without using a VPN?
Yes I can
Quote
That would help rule out router port forwarding problems.  The easiest way to test it is to turn off wi-fi on your phone, turn on mobile hotspot, connect your laptop to the hotspot and see if you can still access JRiver.  If not and you're using an external VPN server, that's why you cannot access it.
OK I'll try. BTW other server which use port forwarding works fine

Thanks much
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Connection with VPN does not work
« Reply #6 on: November 24, 2017, 06:33:05 am »

BTW other server which use port forwarding works fine
On what port?  It might make a difference.
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: Connection with VPN does not work
« Reply #7 on: November 25, 2017, 03:33:45 am »


good point. 6881 and 4433 (bit torrent)
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Connection with VPN does not work
« Reply #8 on: November 25, 2017, 09:50:50 am »

So you're saying that when you're away from home not on your home LAN you can access your JRiver server?  But when you use your VPN service it doesn't work?

If that's right, my near term testing advice is to try connecting by manually entering the ip address and port of your jriver server and see what happens.  Try both your internal LAN address and your external public ip address, but be sure to add the port you have JRiver listening on as well (i.e. 52199 by default).  Try this both when connected to your VPN to and not connected to your VPN.  Try it both ways when on your home LAN and not on your home LAN.  That will tell whether its a NAT reflection issue or a routing issue.

So try testing:

1) Local IP on home network without VPN
2) Public IP on home network without VPN
3) Local IP on home network with VPN
4) Public IP on home network with VPN
5) Public IP on different network without VPN
6) Public IP on different network with VPN

If 1) and 2) work but none of the others work your port forwarding at the rotuer is not configured correctly.
If 1), 2), and 5) work but none of the others your VPN service is doing something wonky with routing (like Awesome Donkey described)
If 1), 5), and 6) work but not the others, you have a NAT reflection problem where your router is not correctly routing LAN-origin traffic through the port-forwarding
If 1), 2), 3), 5), and 6) work, but not 4), your VPN may not be pushing DNS/routes which is leading to a situation where your computer is getting local DNS info from your router but can't actually access the resources because it's routing through the VPN which is outside your LAN.

Basically, those six tests will tell you where the breakdown is.
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: Connection with VPN does not work
« Reply #9 on: November 27, 2017, 03:04:06 am »

I worked the issue around by executing http://webplay.jriver.com/libraryserver/lookup?id=abcdef
and then entering the displayed IP manually in the web navigation network
fair enough since not ideal
thanks much
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

Headcool

  • Junior Woodchuck
  • **
  • Posts: 70
Re: Connection with VPN does not work
« Reply #10 on: November 28, 2017, 11:59:16 am »

the service is purevpn. I connect to two servers (PPTP and SFTP, none works)

Why are you even using a VPN? PureVpn is known to keep logs and PPTP is insecure today. If you want only to bypass geoblocking this might be ok, but otherwise you should definitely change your VPN provider and the protocol (either OpenVPN or IKEv2).
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: Connection with VPN does not work
« Reply #11 on: December 04, 2017, 04:06:24 am »

which VPN provider do you suggest then? I tried to setup Open VPN with Pure VPN on my NAS but it did not work
thanks
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature
Pages: [1]   Go Up