[solved] How to protect an app that doesn't have login authentication?

Hakisak

Cadet
Joined
Jul 18, 2023
Messages
4
I have an app that doesn't have a login. I can access the app with any pc on the same LAN by typing the 'truenasIP : port' to the app.
How would I go about making a layer of security for the app? just the web ui access.

  • I would prefer to have a username + password that would allow the connection.
  • I guess you could somehow block/allow certain ip's access to that port but would much rather the first method above^
if it matters; the app is plex.

-thank you
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Plex has authentication outside the LAN defined subnet.

You can either turn that feature off in the settings of Plex or don't define the subnet as LAN.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The "normal" answer would be to put the app behind a reverse proxy, and have that reverse proxy handle authentication. With TrueCharts apps, that would be done using Traefik, and all the plumbing is built into their apps to make this work. Some documentation on that here:
 
Top