couldn't decide between opening ports on my own server or using a cloudflare tunnel. asked my ai for three diagrams: who connects to whom, what the public can reach, and where the trust boundary sits
Recipe No. 55
Ask for Three Diagrams Before You Choose: Direct Server or Cloudflare Tunnel
Serves Anyone who has been told to 'just use a tunnel' and wants to see what actually changes
Asif asked his assistant to explain, with real diagrams, how serving a site from his own server differs from putting it behind a Cloudflare Tunnel.
You will need
Method
Ask for exactly three views: the traffic flow, what the public can reach, and the trust boundary. Three short pictures beat one dense one.
In the flow view, show who opens the connection. A direct server accepts inbound connections. A tunnel dials out and visitors never touch your machine.
In the reach view, list open ports, whether your IP shows in DNS, and what a port scan finds in each setup.
In the trust view, name who sees plaintext traffic. A tunnel adds a third party you have to trust.
Render the diagrams, open the images and look at them. Fix invalid syntax and small unreadable labels before you save the result.