PlexConnect RPM for Linux (RedHat/CentOS)

Where is the DNS redirect done?

Maybe I'm not understanding the question... but using dnsmasq

Did you update /etc/dnsmasq.d/plexconnect.conf and restart the service?

Did you update /etc/dnsmasq.d/plexconnect.conf and restart the service?

I thought we would only update this file if the port_webserver was updated within the Settings.cfg file

No, that’s for Apache. You need to update the dnsmasq config, select a host and enter in the plexconnect IP address

No, that's for Apache. You need to update the dnsmasq config, select a host and enter in the plexconnect IP address

I've done both of those as well.  Uncommented "conf-dir=/etc/dnsmasq.d" and I've added the IP address of the PlexConnect server to the PlexConnect.conf (dnsmasq):

# Uncomment the host you want to intercept and replace

# x.x.x.x with the ip address of PlexConnect
#
address=/trailers.apple.com/10.9.1.25
# address=/secure.marketwatch.com/x.x.x.x
 
# Use the following to block Apple TV updates
address=/mesu.apple.com/127.0.0.1
address=/appldnld.apple.com/127.0.0.1
address=/appldnld.apple.com.edgesuite.net/127.0.0.1

Anybody with any ideas as to how to fix this issue?

For future generations :) I managed to fix this last night, by adding the IP address of the server instead of 127.0.0.1 like so:

    ProxyPass / http://10.9.1.25:8080/ nocanon

    ProxyPassReverse / http://10.9.1.25:8080/

Plexconnect 0.5 is out.

 

Major improvements:

  • Revamped Audio/Music handling (for iOS>=7.0. That version got a new XML audio player... thanks Beats!)
  • GUI improvements: Fanart, Backgrounds... (needs PIL/Pillow library for Python)
  • Playlists support (video/audio): continuous play, shuffle, also for TVShow/Season/Episodes
  • Save ATVSettings.cfg after changes

Perhaps it would be possible to get an updated rpm? That would be awesome.

Plexconnect 0.5 is out.

 

Perhaps it would be possible to get an updated rpm? That would be awesome.


Updated to commit 34d2290.

Thank you. I rebuild and now the update feature works (I got a "failed" message before).

Another thing I'm wondering:

    BrowserMatch "^(iTunes-)?AppleTV" appletv
    ..
    CustomLog logs
    
        Order deny,allow
        Deny from all
        Allow from env=appletv
    
What would happen, if I open Apache to the world wide web? Could someone with a faked User-agent gain access to the Plex video library? 

Perhaps something like this would be possible:

SetEnvIf Remote_Addr ^192\.168 good_ip=1   # match with local network address 
SetEnvIf good_ip 0 !appletv                # invert appletv env if good_ip is 0

Or something like:


  Require env appletv
  Require ip 192.168.2

I don't know Apache well....

Another thing I'm wondering:

    BrowserMatch "^(iTunes-)?AppleTV" appletv
    ..
    CustomLog logs
    
        Order deny,allow
        Deny from all
        Allow from env=appletv
    
What would happen, if I open Apache to the world wide web? Could someone with a faked User-agent gain access to the Plex video library? 

No, they wouldn't gain access to your video library.  

Ok, so the video requests don't go through Apache as a proxy? Plexmediaserver will see it as a remote access? Or will plexconnect not be accessible already.

Hi tkimball83!

Thanks for your job, but can you please help me to create a certificates for Cent OS?
Only /etc/pki/plexconnect/trailers.cer from package work well for me.
marketwatch.cer does not work because domain name changed to video-api-secure.wsj.com
But I need to create certificate for www.icloud.com (WSJ Video) on Cent OS.

I tried this way:
openssl req -new -nodes -newkey rsa:2048 -out ~/icloud.pem -keyout ~/icloud.key -x509 -days 7300 -subj “/C=US/CN=www.icloud.com
openssl x509 -in ~/icloud.pem -outform der -out ~/icloud.cer && cat ~/icloud.key >> ~/icloud.pem

Please help!!!

P.S. Should I create certificates for Cent OS on Mac or Cent OS? If on Mac should I blame Yosemite OS? :slight_smile:

Oh ■■■■… I’m an idiot. Inside emacs /etc/httpd/conf.d/plexconnect.conf
there are paths to SSL cert and key as well.
Need to update it also… Spent 2 days on it…

Are you still having issues? I can generate some more certificates if it helps

@tkimball83 said:
Are you still having issues? I can generate some more certificates if it helps

No, thanks a lot tkimball83, my certs was correct. My mistake that I didn’t update apache configuration with new cer & key. Thank you for Cent OS build once again.