Is public site without proxy safe ?
retained text
Hello, I currently use cloudflare to secure my public self hosted website and for dns records I put the \*.website.com behind a cloudflare proxy. (Orange cloud) As I understand this makes it so people don't know my ip but only cloudflare's. I even setup a firewall on my homelab to only allow requests from cloudflare's server and it works like a charm ! However, inspired by Primagen's terminal.shop, an online shop you ssh into to order from it, I did exactly the same for my resume. I wanted for a user to be able to run "ssh resume.website.com" and access a TUI Resume I just made. In parallel, you can also directly access resume.website.com via browser. I could actually make it work ! by adding another record for resume.website.com with direct connection. (Grey cloud) But now, people going to this website or ssh into this address can know my real IP. And I had to remove the "cloudflare only" rule in my firewall. I guess it's bad no ? Are there solutions for that ? Is what I'm trying to do just not possible without exposing myself ? I'd gladly share it with y'all but I want to makeit secure first hehe. EDIT: I forgot to mention, I have both this project and my reverse proxy (caddy) inside two different Proxmox LXC CT (smaller VMs). So I'm not allowing people on any PC.
document fetched 2026-09-09 10:26 · canonical https://reddit.com/r/homelab/comments/1wavns6/is_public_site_without_proxy_safe