VPN: Images and Content Access Issue

Does anyone know or has had experience with setting up behind a VPN?

 

I have ran through all steps in settings.cfg and got everything mostly working but keep getting a 'unauthorized' access error which in turn will not allow me to play content or see any images at all.

 

Can the devs or someone please help?

 

thanks

 

 

Do you allow your PMS to serve content to the "foreign" VPN IP address?

@baa No I do not. Do I need to do this? What would it change?

set PMS->Preferences->Server->Network->"List of networks that are allowed without auth"

set PMS->Preferences->Server->Network->"List of networks that are allowed without auth"

What values am I meant to put in there?

Does this affect other apps that connect to plex?

thanks @baa in advance.

Someone else can chime in if they have an answer.

Maybe this can help you.

Maybe this can help you.

Cheers for the suggestion but doesn't seem to help 

I have tried:

127.0.0.1/255.255.255.255,`10.0.0.2/255.255.255.255

127.0.0.1/255.255.255.255,10.0.0.22/255.255.255.255

127.0.0.1/255.255.255.0,10.0.0.2/255.255.255.0

127.0.0.1/255.255.255.0,10.0.0.22/255.255.255.0

and still get unauthorized access.

I don't get why plexconnect doesn't connect like all the other smart tv apps out there.

any other ideas?

It does... but you asked specifically about VPN. Do you use VPM for your mobile client?

Issue is - PlexConnect is like 2 clients in one.

1) XMLConverter, that accesses PMS from PlexConnect's address. If this is running on your PMS host, you are typically fine.

2) aTV, accessing media (thumbnails, video, ...) directly. ATV for sure has other IP than PMS, in your case even a totally different subnet, that PMS isn't keen on serving media to.

Is 10.0.0... your VPN subnet?

I don't use VPN for mobile client but am able to use plex still via a workaround.

All other clients are fine. The VPN is on the same computer that houses the PMS and Plexconnect.

My subnet is:

10.0.0.2 which is the HTPC and 10.0.0.22 which is the Apple TV.  running both at 255.255.255.0 net.

does that help?

thanks @baa and anyone else willing to help.

Is your PMS accessible from your "remote" location? Ie. are you able to browse to :32400 from the point of view of your aTV?

Do you mean if I turn off the VPN? and have settings normal? then yes.

Is that what you mean  @baa ?

No, through your VPN tunnel. If I understand your setup correctly it might look like...

aTV --VPN--> PlexConnect (10.0.0.2)

             PlexConnect (192.168..x ) --local--> PMS (192.168..y)

And now PlexConnect tells aTV that PMS is "reachable" at 192.168..y.

aTV --VPN-->                                      PMS (192.168..y)

Is aTV (10.0.0.22) able to connect to PMS at (192.168..y)? Probably not.

PlexConnect really is not designed for that sort of subnet-bridging...

You would need an option to have your PMS available under two IPs (192.168..y) for PlexConnect, (10.0.0.2) for aTV. Or you have to push everything in that VPN, have PlexConnect at (10.0.0.2), no-auto-detect, and PMS probably at (10.0.0.2) as well. That might work for PlexConnect, yet I have no idea how your other devices away from VPN would connect, let alone how authorization stuff might deal with that.

Ah, OK. 

my Apple TV is not directly connected to VPN. It is connected to my PC at address 10.0.0.2 and then grabs the internet feed through that which works fine for all the other Apple TV apps except for Plexconnect.

I don't have different subnets that I know of.

My Apple TV is 10.0.0.22 and my PC is 10.0.0.2 and that is connected to the net.

Does that explain things better @baa?

thanks

Aeh, no.

I guess we need the big picture of what you are trying to do.

Why don't you run PlexConnect on the PC 10.0.0.2 then? Is your PMS on 10.0.0.2 as well? What do you need the VPN for? Why not using myPlex library sharing?

Plexconnect is currently running on 10.0.0.2

PMS is 10.0.0.2 as well.

VPN accesses internet through this PC but should have nothing to do with Plexconnect (as should be working over lan) but I've obviously configured plexconnect wrong as Im having this problem..

not sure what you mean about the myplex library sharing.. 

thanks @baa

Does anyone have an update here?

Actually I am confused. I really am lost - how is your setup, how does the VPN come into play, things like that.

The setup is PC is at 10.0.0.2 

Apple TV is at 10.0.0.22 

All on a wireless network connected to router.

Everything works fine until I turn on the VPN on the PC to access outside network, which then allows plexconnect to still work but no images or video to play even though all other apps and channels on the apple tv itself are fine.

I then get that 'Not authorized' message and I really don't know why since the Local LAN should have nothing to do with the VPN on that computer.

Is that better @baa?

Ok... now I sure would like to see a log - one with, one without VPN active. Plus your settings.

Though I *think* with the VPN active PlexConnect is getting confused with its host IP address (picking the VPN one...). Try disabling PlexGDM and set your real IP.