Plex Setup for FreeNAS

The objective here is to set up a Plex server on FreeNAS. The repository should be readable only to FreeNAS users. but should not accessible to anyone else. This will allow FreeNAS users to access media using other Windows applications such as WMP and VLC. The instructions that follow are suitable for a home network that doesn’t have active directory services for authenticated access.

At the time of writing this, I am working with FreeNAS 9.10.2-U2 and  Plex plugin 1.4.4. The instruction below assumes the user has a working knowledge of FreeNAS and also starts with the assumption that the Plex plugin has been installed on the server.

Step 1: Create the group and user  plex.

It is crucial that plex has a UID and GID of 972.

screenshot.90

Step 2: Create the dataset media.

As we want the dataset to be managed from Windows, ensure the share type is Windows.

screenshot.9

Step 3: Assign plex ownership of media.

screenshot.81

Step 4: Create the Windows media share.

screenshot.82

Step 5: Adjust permissions on the Windows share.

If you have problems with this step, please review the post Administrator Access to Windows Shares in FreeNAS.

Share permissions of media when first viewed from Windows:

screenshot.83

Adjust share permissions such that only FreeNAS users (in this case belonging to the group freenas) have read access to media. Also allow system administrators full access to the share.

screenshot.66

Step 6: Add storage to the Plex plugin.

screenshot.88

Step 7: Start the Plex plugin on the server and set up your clients

Time to enjoy what Plex has to offer. You may need to tailor the Plex server to your requirements. Client configuration will depend on which clients you have, however, the setup is fairly intuitive. Further server and client configuration are beyond the scope of this article.

References

  1. Plex
  2. Giving Plugins Write Permissions to Your Data
  3. Configuring Authenticated Access Without a Domain Controller

Revision History

  1. Initial post. (170310)
  2. Minor corrections. Group permission refinements. (170508)
  3. Clarification on managing Windows permissions (170507)

Keep Reading

PreviousNext

Comments

Leave a Reply