I’ve been using CF DNS for some years now but thought I’d give tunnels a shot in an effort to tighten up my local network security. After getting cloudflared running via docker compose I ran into a couple of issues and concerns.
- I was able to get all my subdomains working correctly with HTTP://<local_ip>:<port> but I could not get my primary domain to work with HTTP://<local_ip>:80. I was able to load the primary domain within my network, but not from external networks. My subdomains worked with both internal and external networks. Is there something I’m missing in regards to primary domains and cloudflare tunnels?
- I could not figure out how to get security headers like
Content-Security-Policy
,Permissions-Policy
etc. I did see the HSTS settings in SSL/TLS > Edge Certificates, but that seems somewhat limiting. Is there any way to go about applying Security Headers in CF Tunnels?