Plexconnect on the go using ddns (ios 5.x and jailbreak required)

I am trying to get plexconnect to work outside of my network so I can take it anywhere and view my content (still waiting for myplex to become available). So far I have been able to get it to partially work on my appletv by altering some of the plexconnect files. If I am within the lan everything works perfectly fine as it should all metadata loads all files play, but if I take my apple tv anywhere the metadata does not load at all (grey icons) and only some of the files play but basic functionality is there. I have forwarded the ports 80 & 53 on my router and pointed them to my mac, I even opened up my mac using the routers dmz function to check and see if ports were an issue for pms/plexconnect. I dont know if the issue lies with plexconnect or pms. I have pointed all the files within /assets/js to my dyndns by changing http://atv.plexconnect to http://mydns.whateveritis.com. I have my bag.plist and addsite within the folder /assets. I have tried to add the networks ip/netmask to pms in advanced network settings (no change with or without). I do notice that that subnets are different. I have added an app on my atv homescreen for outside my network for use with plexconnect/pms. The only files I have edited besides that are settings.cfg and plexconnect.py. Within plexconnect.py i changed the hostofplexconnect to mydns.whateveritis.com. Here is my settings.cfg:


[PlexConnect]

enable_webserver_ssl = False

logpath = .

enable_dnsserver = False

prevent_atv_update = True

port_dnsserver = 53

enable_plexconnect_autodetect = True

port_pms = 32400

port_webserver = 80

ip_plexconnect = 0.0.0.0

certfile = ./assets/certificates/trailers.pem

ip_dnsmaster = 8.8.8.8

loglevel = Normal

ip_pms = mydns.whateveritis.com

enable_plexgdm = False

port_ssl = 443


This is running everything very slim not much is needed to use a addsite app basically I have the webserver doing everything I need. Like I said it seems very close to working outside of my network it actually runs pretty decent in terms of speed. Any info to get me fully functional would help.

The easiest way to use PC remotely is to have some sort of teamviewer or remote desktop going into your plex server.  Then go to your new place and find out the wan ip www.whatismyip.com and then log into your PMS and under network authentication put in that ip address 123.123.123.123/255.255.255.255 for not needing authentication.  Then on plexconnect in your settings file you just put in your WAN IP of your site where your PMS is (again use whatismyip).  Start up Plexconnect and voila, I have setup a few people to do this and it works well, you can also set it up using dyndns if you wish too.

I have entered that in and now my plexconnect log says http unauthorized. I have also replaced my dyndns to my real wanip and it produces the exact same results. Is something wrong with pms or plexconnect that it doesnt accept dyndns, it seems that pms isnt allowing it to passthru but im not sure. The other thing I noticed was someone else was having a similar issue and they had plexgdm set to false as well, its like plexconnect and pms dont want to play nice together when that is set. No metadata, some things work others do not. All of my files are .mp4 x264 720p also.

Don't have a lot of experience with this yet, but I believe if plexconnect says unauthorized, that it means that the plexconnect is not an authorized client to the PMS server, and as such, you need to add an entry permitting it without authentication.     I came across that error message when I moved the plexconnect server here and didn't update the PMS, and suddenly nothing worked.

Definitely going to keep watching this one as I'd be interested in seeing how it's resolved.

This definitely used to work with the dyndns entry.
MyPlex support will remove this issue but check to see if you have the correct IP AND subnet mask.
If you have a jail broken ATV you can also run PlexConnect on it for even greater portability :wink:

Im actually hijacking cydia, an app I created using addsite to temporarily run plexconnect. I double checked the wanip for the place my atv is at, also when I set the wan ip to my wan ip or the remote wan ip it locks me out of pms completely even though i set them both in network/settings like so 24.x.x.x/255.255.255.0, 25.x.x.x/255.255.255.128. If I remove these entries from pms it starts to work but only some things and not others as described above.


UPDATE! I have gotten this working using krugers suggestion and added all the network as he suggested to pms! Plexconnect on the go sweet :slight_smile:


In pms I added all two ip address as suggested and bam everything worked all videos now play and all metadata works everywhere. There is a bug somewhere dont ask me where but hey it works!


I can also use the same app as a dual purpose local or remote plexconnect app :slight_smile:


24.x.x.x/255.255.255.0,192.168.2.11/255.255.255.128


The first is a wan ip of the remote site

The second is a the local ip of pms.

No spaces also when you enter the remote wan and the ip into pms (network/advanced), enjoy :slight_smile:

Oh yeah that's right I forgot about having to put the lan ip in for not needing authentication (most of the people I had set this up on didnt use local authentication so the whole local subnet worked).  Glad you got it working. 

You were close just need another piece of the puzzle :slight_smile:

fyi you can also do this without jailbreaking if you run plexconnect on a pc at the remote site, just for users who stumble across this thread.  

That is true, its just nice to leave my mac at my house with my 8tb raid 10 array (rocketraid 2302 4tb usable) and play content anywhere in the world, just by bringing my atv with me and pointing pms to the proper remote wan(s) :slight_smile:

Just wanted to clairify what I have accomplished here for everyone with a atv2 & a saved ios 5.x .shsh. With an atv & plexconnect you need a device to serve the atv plexconnect within your lan such as pc/mac/linux/rasberryPI/nas/router. From what I understand using myplex on a atv would still require a device to host plexconnect if you are outside of your network. What I have done is used a dyndns to forward my modified dyndns plexconnect to my atv anywhere in the world. So I just bring my atv2 with me and thats it, edit pms remotely to tell it the new remote wanip and im done, no extra device needed since my atv can see my dyndns anywhere eliminating the need for an extra device with you when you are outside of your network. Hopefully atv3 can get jailbroken or addsite can get fixed so everyone can enjoy bringing only an atv with them to enjoy plexconnect anywhere.


@f00b4r how do you host plexconnect on the atv2 jailbroken natively?

http://forums.plexapp.com/index.php/topic/72129-new-hack-running-the-plexconnect-python-script-on-your-jailbroken-atv2/#entry416888

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.