If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Way to get PlexMediaServer to work with SELinux?

iscmarkiemarkiscmarkiemark Posts: 23Members, Plex Pass Plex Pass

Is there a guide to get SELinux to work with PMS? Thanks

Tagged:

Answers

  • ChuckPAChuckPA Posts: 22,308Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited February 12

    What specifically? Something special?
    I had to make it jump through hoops to launch correctly when Bash and SELinux tightened security when they were last tightened up,

    If you're referring to all the labels you need to set so you can access your files, most take the easy way out: Disable it.
    In a PMS server environment, there is no need of it; your username, user plex (the server), and the system daemons are what's running.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • iscmarkiemarkiscmarkiemark Posts: 23Members, Plex Pass Plex Pass

    I disabled it. Just having firewall issues now I cannot seem to figure out to get the remote access working. Going to try a few other things.

  • iscmarkiemarkiscmarkiemark Posts: 23Members, Plex Pass Plex Pass
    edited February 12

    Is this correct?

    service version="1.0">
    short>plexmediaserver
    description>Plex TV Media Server
    port port="32400" protocol="tcp" />
    port port="1900" protocol="udp" />
    port port="3005" protocol="tcp" />
    port port="5353" protocol="udp" />
    port port="8324" protocol="tcp" />
    port port="32410" protocol="udp"/>
    port port="32412" protocol="udp"/>
    port port="32413" protocol="udp"/>
    port port="32414" protocol="udp"/>
    port port="32469" protocol="tcp"/>
    /service>

  • ChuckPAChuckPA Posts: 22,308Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    Yes, those are the ports you need on the LAN side. For remote, you only need 32400/tcp.

    Some modem/routers don't implement UPNP well. That said, if it doesn't connect up in automatic first try, switch to manual after waiting 5 minutes for PMS to forget the previous attempt and the sockets that were open to be fully closed.

    To do that:

    1. Make certain your computer is set to a static IP address
    2. Manually port forward from whichever external port you select to IP.addr.of.computer:32400 /tcp
    3. Tell PMS to 'manually specify port' and put in that external port number (even if 32400).

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
Sign In or Register to comment.