Web-ingress firewall
Running behind an edge proxy only helps if attackers can’t skip it: your origin IP is usually in public DNS history. The real protection is a kernel-level firewall that only accepts web traffic from the edge’s IP ranges.
homeport server firewall allow cloudflare # fetch CF's live ranges → 80/443 only from Cloudflarehomeport server firewall # show the current policyhomeport server firewall clear # reopen to the worldallow cloudflare pulls Cloudflare’s current edge ranges
(v4 + v6) and applies them — no list to paste or keep up to date. For any other
edge (or a custom allow-list), pass a file or - for stdin — a declarative CIDR
list (one per line, # comments) that replaces the previous policy wholesale:
curl -s https://api.fastly.com/public-ip-list | jq -r '.addresses[]' > edge.txthomeport server firewall allow edge.txtRules are swapped with no gap, enforced by the kernel (dropped before a TCP handshake — no per-request checks anywhere), and SSH is never touched, so a bad policy can only break web traffic, not lock you out.