Cloudflare tunnels are not meant to be used for high bandwidth traffic (at least for the free tier) if you do use a tunnel for that purpose you will probably have a warning issued or your account suspended. I personally would just expose my Plex port, but I am no network security expert, so maybe others can weigh in on the matter. Tailscale would also work, google tv's which support Tailscale are very cheap too so it wouldn't be too unreasonable, Walmart makes a pretty good one, I think.
Edit: my knowledge of Cloudflare tunnels seems to be dated, it seems if you turn off the cache then you shouldn't run into issues streaming media.
Ahh got it. I ran this a few times but haven't ran into an issue streaming but honestly has been awhile since I have streamed from my Plex server. This was probably a few years back 😬
If you use a cloudflare tunnel with cache turned off AND utilise for example email login (you only want your friends invited) does it mean they cannot use the plex / Jellyfin android / tv app as they must reach the web interface to login or is there a way to make it work?
Big post incoming. Take your time to read it, re read it and ask questions if needed.
Like everyone always says, never expose ports, so I’ve been running almost everything through Tailscale for security.
Should I just expose the Plex port (I’m not fully sure what the actual risks are),
Keep in mind when people use blankets statements like never expose ports it's typically to people who do not understand the risks where the person who made the original comment doesn't have time to explain to them what those risks are.
So let's expand on this so you understand the risks. This will include where Tailscale (a VPN) and cloudflare tunnels come into play.
There is nothing wrong with opening/ port forwarding on its own.
The risk comes with the software that you are exposing. Basically what software is listening to that port.
If the software has any vulnerabilities that can be exploited, then an attacker can gain access to your system/ internal network through that software.
Just like opening a port to the Internet (port forward on your router), inside your local network other systems can open there ports to each other. The difference here is that these systems ports are not being opened to the Internet because you aren't port forwarding
Circling back, If an attacker gains access to a system because a port was forwarded to the Internet and they exploited the software that has vulnerability, they can also repeat this process inside your network. (Even if the software is not being port forward to the Internet. It is open on your local network)
They can see what other devices on your internal network have open ports, exploited the software and keep digging around until they find something important.
Example (maybe a bad example because I'm not an expert)
attacker knows there is an exploit for Plex, so they will run a bot to hit every public IP and try the Plex exploit
this includes if you have a domain. Most people use public certificates like let's encrypt meaning they can see what domain goes to what IP.
if the attacker manages to utilize the exploit to gain access to your Plex system, they can now try to see what other systems on your local network are open
remember they are inside your network now where your other softwares have open ports (same concept as port forwarding but instead of opening to the Internet, these software open ports for systems inside your network)
they can try exploits until they gain access to another system and keep going until they find something sensitive
a printer for example that has never been updated (not many people update there printers).
where most printers will store the past documents on them.
if the attacker finds and exploit for the outdated printer (which can be common). the attacker has access to your past printed documents which may include your name/ address other sensitive information
imagine printing tax documents which has your SIN number.
So the question becomes, how do we mitigate this?
Security is about having multiple layers and accepting the risk of not having those different layers. You can do any combination of the following
VPN
adds a layer of authentication since the clients need an access key to create a tunnel
but as you noted some clients can't use VPN like a streaming stick or maybe you have non technical people who don't know how to use a VPN and don't want to learn
example, Tailscale, selfhosted wireguard
selfhosted wireguard can be done if you have a router that has the feature or using something like wg-easy docker container
with wg-easy docker container, only expose the wireguard instance NOT the admin UI
TLS/SSL - can be done with reverse proxy
encrypt your traffic to protect against MIM (man in the middle) attacks
NOTE if you don't use TLS/SSL that means if a MIM attack occurs then the attacker can see your passwords in plain text (if you have a sign in page)
example reverse proxy that manage TLS /SSL certs - caddy, Nginx, Traefik
geo blocking - can be done with reverse proxy or firewall/router
scope down who can access your services based on country
fail2ban or CrowdSec
protect against mailous IPs which includes DDOS attacks.
note that CrowdSec may collect some information from you and you can determine if that is worth utilizing it. It is a stronger solution then fail2ban because of the community ban list. (Where it collects data from the community)
2FA/ MFA
adds another layer of authentication
example authentik/ authelia
a bit redundant if you tunnel in with a VPN.
network segmentation and isolation
if one machine gets compromised, they have access to your network. (The situation I explained above). If you isolate the machine from your main network, the attacker can't look around your network to try to find more things to exploit
etc
You should also be aware when the software you are hosting has vulnerability where you need to patch/upgrade them quickly. So setup RSS feeds/ other method to be aware.
Some people auto update with tools like what up docker or watchman, but these typically aren't recommended for major upgrades because it can break your software without manual steps. Hence notifications and reading releases notes of the software are better
To circle back, Tailscale is an example of a VPN.
Cloudflare tunnel is a solution where you can implement many of the layers above such as SSL, geo blocking, DDOS, blocking mailous IP, 2FA/MFA. Remember you need to set them up. I think by default cloudflare only handles DDOS.
Why not use cloudflare tunnels or Tailscale? Mostly for privacy. If you don't care then use these solutions.
For example, since you are using cloudflare, you are trusting them with all your traffic. They can see everything.
Will they look at your traffic? Most likely not. But the point of controlling your privacy is to limit who has access to it.
And one of the pillars of selfhosting is controlling your privacy. This is where we can selfhost our own wireguard VPN. And easy way to do this with this wg-easy that comes with an admin UI. (Don't port forward the admin UI only the wireguard instance)
When we talk about privacy, the main factor is convences. Big companies like cloudflare tunnels will make your life of easier. But again, the trade off is your privacy.
Selfhosting you can control your privacy but depending on your technical knowledge it might be bigger learning curve to setup.
You can always use a Tailscale/ cloudflare to get started and once you are more experienced you can transition to fully selfhosted.(If you care about your privacy)
Edit: you may not be able to use cloudflare tunnel because of the TOS (terms of service). In most cases you can't use high bandwidth for example using Plex/jellyfin
Edit: Tailscale also makes distribution and rotation of wireguard keys easier. So it's nice to use for non technical people
All of this is great information! Just wanted to point out that many streaming sticks can support VPN, but I don’t think Roku does. If OP is near a Walmart, he/she can get an Onn streaming box (Google TV) for $20 USD and side-load Tailscale or WireGuard on it. This is how I use my streaming box dedicated for traveling.
You provided a great breakdown of the security implications of every option though, so thank you!
PS: if you want to level up your streaming device (FireStick or Google TV), install a new launcher on it. Personally, I use Projectivy, but I’ve used others. This lets you get rid of the all the ads and personalize your device.
Finally a comprehensive understanding of the risks for port forwarding I can understand. I've always been scared to do it. Now I understand the risks is from the software being exposed and not the act of opening the port.
Thanks for the taking the time to explain! I have some additional security layers to setup.
Why not use cloudflare tunnels.ot Tailscale? Mostly for privacy.
One can setup own headscale control server as well DER relays to avoid been monitored by tailscale, but it need to be hosted somewhere on a public IP, then tailscale VPN might be more private.
Another way is to OpenVPN or Wireguard on premises and allow only specific clients to jump into LAN with sensitive services running
Can you help me understand where Pangolin and Netbird fit on this list? I'm looking for a fully self-hosted solution that is built around a domain name that I purchased. I will likely need a DDNS service too, since the router provided by my ISP doesn't support dynamic DNS. Still trying to see how everything fits together.
Can you help me understand where Pangolin and Netbird fit on this list?
pangolin is meant to be used with a VPS (virtual private server).
Note pangolin is a selfhosted cloudflare alternative (keep that in mind as we get to the bottom of this section) but pangolin allows for all protocol without a cost (HTTP, TCP, UDP, etc) cloudflare free tier only allows HTTP
Note: I believe there are paid tiers to pangolin
Pangolin is a selfhosted all in one solution that has services under the hood such as
traefik reverse proxy
CrowdSec for blocking mailous IP
geo blocking
site to site VPN (wireguard) so your home server can connect to the VPS securely.
Why use a VPS? Typically its due to ISP restrictions where they will not allow you to port forward/ you are behind CGNAT.
The flow
Client -> VPS (host wireguard) <- home server
So here the home server will connect to the wireguard that is hosted by the VPS so they are on the same network. This is known as site to site VPN (two sites are connecting to each other)
Tailscale and cloudflare tunnels do site to site as well which is why people behind CGNAT can utilize them.
With a VPS you can do the same. Pangolin makes the selfhosting experience easier (where you don't rely on a 3rd party such cloudflare tunnel)
Of course you rely on the VPS so you should read there privacy agreement and term of service (TOS)
Note: I honestly don't know to much about netbird
Netbird is a selfhosted mesh VPN. The key word in mesh
Netbird is a selfhosted Tailscale alternative.
Netbird uses wireguard under the hood.
netbird can also be used with a VPS if you are behind CGNAT but I don't think it comes with other tooling that pangolin has like CrowdSec, geo blocking, etc
Netbird is under the VPN category since you need to establish a connection with the VPN before being connected to a network
VS cloudflare tunnel/ pangolin anyone can connect without an access key.
Aka you need the netbird app installed on your client device to connect (like all VPNs)
I'm looking for a fully self-hosted solution that is built around a domain name that I purchased. I will likely need a DDNS service too, since the router provided by my ISP doesn't support dynamic DNS.
If you aren't behind CGNAT and can port forward I recommend plain wireguard.
There is a docker container called wg-easy that comes with an admin UI where it will create keys and you can scan the QR code to add it to the wireguard mobile app.
Of course don't port forward the admin UI. Only the wireguard instance.
DDNS is used when your ISP doesn't give you a static IP (aka your IP constantly changes). It has no association on whether you can or can't port forward / are behind CGNAT.
Some people have called there ISP to see if they can get a static IP free of charge while other just use a DDNss service
Just wondering. I can port forward just fine, but I prefer not to and I'm currently using Cloudflare to expose some things. Would pangolin be a better choice, or would I need to get over it and just expose some things on my network.
With pangolin you dont need to expose a port which is slightly more secure imho since you only tunnel the site+service you want to expose to your pangolin instance.
Also pangolin then can be your reverse proxy and do stuff like get you an SSL cert. Which is so awesome! And if you want to expose services that do not have auth, you can put pangolin's auth in front of it.
I went ahead and got a cheap VPS in the country I live in, and installed pangolin. It's so easy to setup, and now I have full control. The speed is also improved compared to cloudflare!
DMZ has had a changed meaning that I've seen lately that I also find extremely confusing. It's typically just a subnet that is separated out from everything else. Firewall rules allow very specific traffic in/out.
The confusion is probably between a DMZ network and a DMZ host. Yours is a network.
I'm just surprised to see it used in home environment. Typically securing self-hosted apps takes a different approach, like putting the app inside a secure container and making sure the container is very difficult to break out of.
What is your Plex running on, and how do you place it in your DMZ network? It's always interesting to see a different approach.
My Plex is not in a DMZ at all. I was just commenting that I've heard/seen people in the last two years using the DMZ phrase more interchangeably than I think it should be. But maybe it's just me, I'm not sure.
The host is in a DMZ on a /30 network. One IP address in that subnet and that's the Plex server. I port forward to that one device for Plex. That's it.
I've been stung by ransomware twice. Both times it was because of stupid port forwarding that I thought was making my life easy. Never again. I trust nothing and nobody coming in from the Internet. If the device or host requires port forwarding new DMZ with a /30 and firewall rules in and out.
Dang, being an architect and being hit by ransomware TWICE must've been absolute excruciating...
On my end I'm a CCSP, so pretty proud of my security posture in everything I build... except I sometimes forget that the employees I hire DO NOT have the same knowledge (nor even security awareness!) and as such I've had security issues reported to us before (so, unless I code everything myself, or I pay for all our devs to become CCSP's too, (or I review every PR they make) this is bound to happen again and again).
It was a stupid API that I had setup to push data to an application. I thought it was safe but clearly it wasn't. I wanted the automation but I was carless.
I only caught it the second time as I accidentally started writing logs to OneDrive. OneDrive didn't allow the ransomware to encrypt anything so I had logs to view.
You can either use it on a vps, so it will tunnel traffic to your home network (like cloudflare), or you can just install it directly in your network without the newt tunnel.
Pangolin will give you better security then just opening up your firewall, a shiny gui and more can be added later.
I’m curious how you set up pangolin with jellyfin, can you share more?
I have pangolin running on a hetzner vps for my web services behind pangolin’s SSO secured with pocketID. Jellyfin is the only service I can’t use because none of the client apps support SSO. Have you found a way to make that work? A specific jf client app that supports it? Or are you just using a web browser for jf? Given some of jellyfin’s security concerns I’ve seen, I’m not quite sure I should expose jf’s login screen to the world without pangolin’s authentication layer in front of it. But maybe I’m being too paranoid
Interesting, how does that work for your phone being on mobile networks? Its ip is always changing so do you whitelist it before opening the jf client each time? In doing so aren’t you creating a security risk by opening a cgnat ip? (Maybe not a huge risk unless someone on the same tower happens to know your domain but that’s still a risk)
Rarely use the phone app, app is mostly used from a vacation house on fiber, so ip does not change often.
When on phone i can chose the web, or open if i have to. Naturally i will have to consider if i want to whitelist a cgnat ip, or maybe an ip from an airport wifi.
In any case, if i open, jellyfin authentication is still there.
i see you mentioned Newt so guessing you're possibly on Unraid too? Currently i'm running Pangolin/Newt to handle all my reverse proxy stuff... but then setup another wireguard tunnel between the VPS and Unraid machine dedicated for plex, to keep my public ip as invisible as possible... but wondering if that separate wg tunnel may be unnecessary if just the proxy via pangolin/newt are doing the same already.... ??
Tailscale is meant to allow yourself or trusted people access to on-premise services. Cloudflare is meant to expose services to the wider world. Different use cases.
Run Plex behind a reverse proxy, you can use traefik, nginx proxy manager or caddy. Itll have HTTPS and trusted certificate. And your mom simply need to entire your Plex domain and she can connect. Reverse proxy also allow you to host other apps and only need to port forward 443.
I'd setup a small VPS and install pangolin on it. That makes it available from the internet. But you dont expose any port directly. Your mom doesnt need to do anything extra and you dont break cloudflare's TOS. Since video via tunnel is not ok afaik
Nothing remains of the original post here. The author used Redact to delete it, for reasons that may relate to privacy, data security, or personal preference.
marble correct divide whole carpenter imminent cover dime waiting important
i have jellyfin setup on proxmox so i just installed tailscale on the lxc, you literally just type "tailscale funnel <port number>" and then it makes a url that works to access jellyfin anywhere.
if u need more info check the tailscale docs theyre quite good
If you use cloudflares authentication with pin or Google account they will have to watch via the web browser.
if you can set up a device at each house as a subnet router then they can connect to your server using your local IP on any device that's on the local network
i have my cloudflare tunnel pointed at the containers hosting the services, not sure if it's any different if you have plex installed on the nas via the app store
If you have Plex Pass she can access your server through the Plex app on the Roku. Plex offers a relay service as part of their Pass, specifically for this kind of situation. Resolution will be subject to bandwidth restrictions and relay congestion but it's the simplest way.
If you can forward a port (your ISP does not have you under CGNAT) then you can expose Plex to the internet but restrict access to her IP. And hope that her IP doesn't change too often. You can have her visit whatismyip.org and tell you the IP.
If you use NPM as reverse proxy you can use this companion app so she can whitelist herself automatically each time, as long as she can remember to access a link whenever she wants to watch. Whether this is better than the manual approach is up to you.
If you're behind CGNAT you can rent a cheap VPS to get a public IP, assign that IP to a domain name A record, and run a SSH or WG tunnel to forward port 443 to your home. Works very similar to CF tunnel just with different tools.
In all these scenarios (except Plex Pass relay) you MUST get TLS certs and use only HTTPS to access Plex otherwise don't even bother, plain HTTP is ridiculously insecure.
Just expose the port, create a Plex account for her, add her to your friend list and share the libraries.
Exposing Plex's port won't be a problem as long as you keep the Plex Media Server software up to date. And she can just access your content through their apps or app dot Plex dot tv without anything else required, you don't even need to give her your IP address or register a domain.
I think people have been told repeatedly that exposing ports is making yourself more vulnerable to scanning and thus attacks and have a very extremist policy about them and that's why they downvote.
Moderate and reasoned behaviour here tend to be dismissed, I see it often in privacy (& adjacent) communities where people go full Snowden instead of tailoring change around their need and personal condition.
But in the case of Plex, it's not like a 3rd party can scan your instance for a weak spot outside of authentication bypass or your PMS version number.
If you don't use it much you can get away with a Cloudflare tunnel, I use mine to watch an episode or two of a show on the occasional slow day at work maybe once every couple months and haven't had any issues. Any more than that or trying to do super high quality, I wouldn't try it. Tailscale from what I've heard is really easy to set up and would not run the risk of getting yourself in trouble
Setup a reverse proxy, expose that instead and put Plex behind it. Setup proper firewalls behind the Nat as well and you should be fine without tunneling it.
I like caddy these days but nginx is fine too. You can tunnel it still with tailscale even after if you are super paranoid but keeping up with auto security updates works well too. Your biggest risks are misconfiguration and not keeping up with patches.
expose a port is the normal way, either on IPv4 or IPv6 - risk is limited if you limit access with your firewall rules to not allow the whole world
Tailscale or Zerotier is very locked down (only access for whitelisted devices with the TS/ZT app), so mostly interesting if you control the client devices
Cloudflare works, but if you don't trust Cloudflare it's a privacy risk, and streaming video is against their ToS. Bear in mind Cloudflare is just a proxy - if someone has your login credentials, they can log in the same way as they can with a direct connection.
I expose it with NGINX and ssl in front of it. I have two Plex servers and both sit behind one URL and depending on the content you want to watch just pin that to the homepage and you can't tell. Never had issues the certs auto update and I'm not exposing Plex itself. Use fail2ban and geoblock IPs at the firewall level and no issues for me.
Your easiest option would be to portfoward and use strong password/2fa, but you could ask chat gpt on options regarding your setup, and it will run you through 80 - 90% on how to do what you like the best
29
u/ironcrafter54 Oct 13 '25 edited Oct 13 '25
Cloudflare tunnels are not meant to be used for high bandwidth traffic (at least for the free tier) if you do use a tunnel for that purpose you will probably have a warning issued or your account suspended. I personally would just expose my Plex port, but I am no network security expert, so maybe others can weigh in on the matter. Tailscale would also work, google tv's which support Tailscale are very cheap too so it wouldn't be too unreasonable, Walmart makes a pretty good one, I think.
Edit: my knowledge of Cloudflare tunnels seems to be dated, it seems if you turn off the cache then you shouldn't run into issues streaming media.
127
u/1WeekNotice Helpful Oct 13 '25 edited Sep 04 '26
Big post incoming. Take your time to read it, re read it and ask questions if needed.
Keep in mind when people use blankets statements like
never expose portsit's typically to people who do not understand the risks where the person who made the original comment doesn't have time to explain to them what those risks are.So let's expand on this so you understand the risks. This will include where Tailscale (a VPN) and cloudflare tunnels come into play.
There is nothing wrong with opening/ port forwarding on its own.
The risk comes with the software that you are exposing. Basically what software is listening to that port.
If the software has any vulnerabilities that can be exploited, then an attacker can gain access to your system/ internal network through that software.
Here is an example of Plex vulnerability.
Just like opening a port to the Internet (port forward on your router), inside your local network other systems can open there ports to each other. The difference here is that these systems ports are not being opened to the Internet because you aren't port forwarding
Circling back, If an attacker gains access to a system because a port was forwarded to the Internet and they exploited the software that has vulnerability, they can also repeat this process inside your network. (Even if the software is not being port forward to the Internet. It is open on your local network)
They can see what other devices on your internal network have open ports, exploited the software and keep digging around until they find something important.
Example (maybe a bad example because I'm not an expert)
attacker knows there is an exploit for Plex, so they will run a bot to hit every public IP and try the Plex exploit
if the attacker manages to utilize the exploit to gain access to your Plex system, they can now try to see what other systems on your local network are open
a printer for example that has never been updated (not many people update there printers).
So the question becomes, how do we mitigate this?
Security is about having multiple layers and accepting the risk of not having those different layers. You can do any combination of the following
VPN
a streaming stickor maybe you have non technical people who don't know how to use a VPN and don't want to learnTLS/SSL - can be done with reverse proxy
geo blocking - can be done with reverse proxy or firewall/router
fail2ban or CrowdSec
2FA/ MFA
network segmentation and isolation
You should also be aware when the software you are hosting has vulnerability where you need to patch/upgrade them quickly. So setup RSS feeds/ other method to be aware.
Some people auto update with tools like what up docker or watchman, but these typically aren't recommended for major upgrades because it can break your software without manual steps. Hence notifications and reading releases notes of the software are better
To circle back, Tailscale is an example of a VPN.
Cloudflare tunnel is a solution where you can implement many of the layers above such as SSL, geo blocking, DDOS, blocking mailous IP, 2FA/MFA. Remember you need to set them up. I think by default cloudflare only handles DDOS.
Why not use cloudflare tunnels or Tailscale? Mostly for privacy. If you don't care then use these solutions.
For example, since you are using cloudflare, you are trusting them with all your traffic. They can see everything.
Will they look at your traffic? Most likely not. But the point of controlling your privacy is to limit who has access to it.
And one of the pillars of selfhosting is controlling your privacy. This is where we can selfhost our own wireguard VPN. And easy way to do this with this wg-easy that comes with an admin UI. (Don't port forward the admin UI only the wireguard instance)
When we talk about privacy, the main factor is convences. Big companies like cloudflare tunnels will make your life of easier. But again, the trade off is your privacy.
Selfhosting you can control your privacy but depending on your technical knowledge it might be bigger learning curve to setup.
You can always use a Tailscale/ cloudflare to get started and once you are more experienced you can transition to fully selfhosted.(If you care about your privacy)
Edit: you may not be able to use cloudflare tunnel because of the TOS (terms of service). In most cases you can't use high bandwidth for example using Plex/jellyfin
Edit: Tailscale also makes distribution and rotation of wireguard keys easier. So it's nice to use for non technical people
Hope that helps
6
u/itsmesid Oct 13 '25
Pangolin is a better choice but you will need a VPS
16
u/retrogamer-999 Oct 13 '25
Out of all the services that I host, Plex is the only one that I expose to the Internet.
It sits in a DMZ that has access to nothing else
8
u/Plane-Character-19 Oct 13 '25
You can use pangolin as a proxy.
You can either use it on a vps, so it will tunnel traffic to your home network (like cloudflare), or you can just install it directly in your network without the newt tunnel.
Pangolin will give you better security then just opening up your firewall, a shiny gui and more can be added later.
Use it myself on vps for jellyfin.
4
u/shimoheihei2 Oct 13 '25
Tailscale is meant to allow yourself or trusted people access to on-premise services. Cloudflare is meant to expose services to the wider world. Different use cases.
9
u/Fun_Airport6370 Oct 13 '25
i use a reverse proxy (traefik). tailscale would be good but i wouldn’t suggest cloudflare tunnels for plex
you’d probably be fine just opening the port for plex
3
u/tertiaryprotein-3D Oct 13 '25
Run Plex behind a reverse proxy, you can use traefik, nginx proxy manager or caddy. Itll have HTTPS and trusted certificate. And your mom simply need to entire your Plex domain and she can connect. Reverse proxy also allow you to host other apps and only need to port forward 443.
3
u/ufokid Oct 13 '25
I use cloudflare, it works well
3
u/Akorian_W Oct 13 '25
I'd setup a small VPS and install pangolin on it.
That makes it available from the internet. But you dont expose any port directly.
Your mom doesnt need to do anything extra and you dont break cloudflare's TOS. Since video via tunnel is not ok afaik
3
u/peteydubss Oct 13 '25
Can you just share your library through plex?
4
u/xBluze Oct 13 '25
i use tailscale funnel its super easy to set up and lets people with the link access my jellyfin from anywhere
2
u/mycall Oct 13 '25
You could put a raspberry pi or some other device in front of your Roku running Tailscale and have it act as an IP forwarded/router/gateway.
3
u/StrongOrb Oct 13 '25
If you use cloudflares authentication with pin or Google account they will have to watch via the web browser.
if you can set up a device at each house as a subnet router then they can connect to your server using your local IP on any device that's on the local network
i have my cloudflare tunnel pointed at the containers hosting the services, not sure if it's any different if you have plex installed on the nas via the app store
3
u/GolemancerVekk Oct 13 '25
If you have Plex Pass she can access your server through the Plex app on the Roku. Plex offers a relay service as part of their Pass, specifically for this kind of situation. Resolution will be subject to bandwidth restrictions and relay congestion but it's the simplest way.
If you can forward a port (your ISP does not have you under CGNAT) then you can expose Plex to the internet but restrict access to her IP. And hope that her IP doesn't change too often. You can have her visit whatismyip.org and tell you the IP.
If you use NPM as reverse proxy you can use this companion app so she can whitelist herself automatically each time, as long as she can remember to access a link whenever she wants to watch. Whether this is better than the manual approach is up to you.
If you're behind CGNAT you can rent a cheap VPS to get a public IP, assign that IP to a domain name
Arecord, and run a SSH or WG tunnel to forward port 443 to your home. Works very similar to CF tunnel just with different tools.In all these scenarios (except Plex Pass relay) you MUST get TLS certs and use only HTTPS to access Plex otherwise don't even bother, plain HTTP is ridiculously insecure.
3
u/Lopsided-Painter5216 Oct 13 '25
Just expose the port, create a Plex account for her, add her to your friend list and share the libraries.
Exposing Plex's port won't be a problem as long as you keep the Plex Media Server software up to date. And she can just access your content through their apps or app dot Plex dot tv without anything else required, you don't even need to give her your IP address or register a domain.
1
u/Arklelinuke Oct 13 '25
If you don't use it much you can get away with a Cloudflare tunnel, I use mine to watch an episode or two of a show on the occasional slow day at work maybe once every couple months and haven't had any issues. Any more than that or trying to do super high quality, I wouldn't try it. Tailscale from what I've heard is really easy to set up and would not run the risk of getting yourself in trouble
1
u/UninvestedCuriosity Oct 13 '25 edited Oct 13 '25
Setup a reverse proxy, expose that instead and put Plex behind it. Setup proper firewalls behind the Nat as well and you should be fine without tunneling it.
I like caddy these days but nginx is fine too. You can tunnel it still with tailscale even after if you are super paranoid but keeping up with auto security updates works well too. Your biggest risks are misconfiguration and not keeping up with patches.
1
u/[deleted] Oct 13 '25
Do both.
Tailscale is just useful to set up and have anyway.
Having the tunnel let's you share it with other people if you want to do a group watch or something and they won't need to install tailscale
They're also both free and won't really interfere with each other.
1
u/certuna Oct 13 '25
it all depends
1
u/touche112 Oct 13 '25
Just expose the port.....
0
u/djc_tech Oct 13 '25
I expose it with NGINX and ssl in front of it. I have two Plex servers and both sit behind one URL and depending on the content you want to watch just pin that to the homepage and you can't tell. Never had issues the certs auto update and I'm not exposing Plex itself. Use fail2ban and geoblock IPs at the firewall level and no issues for me.
-6
u/StrongOrb Oct 13 '25
Your easiest option would be to portfoward and use strong password/2fa, but you could ask chat gpt on options regarding your setup, and it will run you through 80 - 90% on how to do what you like the best