diff --git a/networking/notes.md b/networking/notes.md index c460b82..c30bcd3 100644 --- a/networking/notes.md +++ b/networking/notes.md @@ -15,4 +15,16 @@ Some notions to check out: [] managed switch [] pfSense router [] SSL certs? (certbot) -[] SSH \ No newline at end of file +[] SSH + +> 10/9/2026 + +After some research and to the best of my understanding, a good secure (free) setup for our Docker containers to run would need the following Docker networks: + +* `edge` to host 2 containers : `cloudflared` and a reverse proxy (most likely nginx but still needs research). +* `frontend`: this network would host the reverse proxy as well and all other frontend components e.g. `gitea`, portfolio, blog, etc. +* `backend`: hosts backend components e.g. `gitea-db` and the related `gitea`. + +The reason I decided to separate `cloudflared` from the frontend is that it could get compromised. In that case, I don't want all my frontend components to be potentially exposed and the reverse proxy to be bypassed. + +The setup involves another component here that may be the only one that will not be hosted locally that is Cloudflare. Since Cloudflare allows some neat features for free like caching, DDoS absorption, WAF in conjunction with the tunnel through `cloudflared` (0 port forwarding needed), handling all SSL leaving just clean inbound HTTP traffic reducing latency and overhead on our system. \ No newline at end of file