I managed to have PlexConnect working great when I had one network only. But I live in China and often require a VPN with a US IP address. So I run two networks in my house. The computer I have with PMS is not on the VPN but on the a local Chinese IP address. I have 3 ATV's that run on my VPN network.
Is it possible to get PlexConnet working on my ATV's if they are on a different subnet with my US IP address VPN?
I will map it out once again:
192.168.5.1 is my router without a VPN - Chinese IP
192.168.1.1 is my router with a VPN - US IP
Apple TV's are wired to my 192.168.1.1 VPN router
My PMS and PlexConnect are on a computer that's on my 192.168.5.1 Chinese IP router
Anyone have ideas how to set this up? Thanks in advance!
Yes it is possible but you will need to do the following:
- Manually configure the PMS IP in settings.cfg AND disable GDM auto discovery
This should enable PlexConnect to see your server but you will get issues with missing artwork and playback of media due to PMS getting confused over authentication (due to the separate subnet setup), you can get round this:
- On your PMS (ensure show advanced settings is checked): server > settings > network
Make sure you enable allow without authorisation the subnet for your ATV's (in the IP/netmask format)
Change the PMS port in settings.cfg if running a non standard port, ie not 32400.
The IP PlexConnect will be the same as the device that you are running PlexConnect on, but you should not have to change this as PlexConnect should be able to detect its own IP (if it can’t you will see it in the log pretty quickly).
The DNS on your ATV is the PlexConnect IP so it will send all DNS requests through PlexConnect; these will either get passed onto an external DNS server or redirected in the case of the trailers app to PMS.
You may also want to change the 8.8.8.8 DNS master to your ISPs DNS server as 8.8.8.8 is google’s DNS server and may be blocked in China
I really appreciate your help but I wasn't able to get it working. Just so we are on the same page, I thought I would share some screenshots. Maybe this will help someone else out who is trying a similar setup.
Strange. I can't get plexconnect to generate a new log. I have followed the instructions here as to how to create a log file properly. Considering I have plexconnect set to launch daemons, I restarted my computer. I also used the terminal command sudo launchctl load /Library/LaunchDaemons/com.plex.plexconnect.bash.plist and sudo launchctl unload /Library/LaunchDaemons/com.plex.plexconnect.bash.plist to stop it. Still no new plexconnect.log file has been generated.
When I do the unload command in terminal it simply asks for my password and then shows the name of my computer. Same for the load. Just to make sure I was suppose to "delete" the log file and it should generate a new one correct? Not just empty the content from it?
Sorry I meant starting it using “sudo ./plexconnect.py” - this should generate output in the terminal window (you then use CTRL+C to shut it down - don’t just shut the terminal)