I am running PMS behind a Fortigate firewall where I’ve only opened incoming access to my Wireguard server. How in this scenario is the access to my library (both video and music) working?
I’ve noticed that from my mobile phone I can stream both movies and music only if the Wireguard tunnel is active. Same goes for my laptop (when I’m remote).
Am I right understanding that this way it’s not possible to access my media library in any other way than using Wireguard tunnel? Which would also mean that if I share my library with another Plex user, he/she won’t be able to access any of my content?
OK, so you confirm that with my actual setup (no port forwarding, just Wireguard tunnel on some of my mobile devices) nobody can access my media library.
That’s what I’m not yet doing: one of my friends has added me on his PMS and I can see/stream his library, but I believe he can’t do anything with mine (I’ve added him as well as a PMS friend)?!
No one can access your server remotely unless have done one of two things:
Enabled remote access and forwarded an external port (any unprivileged port) to port 32400 (TCP) to your server’s internal IP address.
And/or enabled Plex relay to allow access to your server to be proxied through Plex’s server’s (which, as mentioned above, will cap the stream bandwidth to either 1 Mbps or 2 Mbps, depending on whether or not you subscribe to a Plex Pass).
In either case, they’ll need to be logging into an account to which you have granted access to your server. Simply accessing your server by its IP does not give them access; rather, it just allows them to load the Plex web interface (if accessed via browser). They still need explicit sharing permissions to view your media.
So, you won’t likely accidentally allow someone access to your media.
Where wireguard becomes a pain is if you want to grant remote access to your PMS for friends and family, as they need to install and configure a wireguard client on their devices. It’s easier, particularly for technically challenged friends and family just to enable remote access via a port forward and send them an invitation through Plex.