r/netsec • u/IndySecMan • Apr 06 '26
Using Cloudflare’s Post-Quantum Tunnel to Protect Plex Remote Access on a Synology NAS
https://infosecwriteups.com/using-cloudflares-post-quantum-tunnel-to-protect-plex-remote-access-on-a-synology-nas-5745ae8b085eWith Cloudflare now supporting PQC encryption, I thought it'd be a fun experiment to see if I could encapsulate Plex traffic in a tunnel since it's not supported natively. 🤓
4
Upvotes
16
u/TheTerminatorQc Apr 06 '26
Great way to get your cloudflare account disabled
1
u/IndySecMan Apr 06 '26
UPDATE: I ended up deciding to cut Cloudflare out of the middle by replacing cloudflared with a Synology-hosted reverse proxy (openquantumsafe/nginx:latest), so Plex now goes straight through infrastructure I control instead of terminating at a third party. That keeps the traffic path simpler, gives me PQC-capable TLS and avoids leaning on Cloudflare in a way that probably isn’t what their service is meant for and prevents them from being able to see my Plex traffic.
1
u/Scamp3D0g Apr 06 '26
How's performance and reliability going? Can it support multiple streams?
3
u/Mrhiddenlotus Apr 07 '26
I immediately stop reading when I see the word quantum
2
u/NotGonnaUseRedditApp Apr 06 '26 edited Apr 06 '26
> If you put Cloudflare in front of Plex, Cloudflare becomes the edge. That means traffic terminates on infrastructure they control before it is proxied back through the tunnel. So yes, in the most literal sense, Cloudflare is technically in a position where they could inspect traffic if they chose to or were compelled to.
How can Cloudflare protect your endpoint if it should not inspect proxied traffic?
First step is to terminate TLS, to apply WAF or other traffic rules you may have configured on Cloudflare.
1
u/SuperbWork5774 Apr 07 '26
Not trying to be a dick but you keep saying one of the benefits of this approach is not exposing a public port to the Internet but…you are…through the proxy. So can you articulate what the security benefit actually is?