Skip to content

Firewall & scheduled jobs

Keep the firewall closed, manage cron and backup timers, and limit background traffic.4 min read

The rustiron firewalld zone

packaging/firewall-zone.py creates and verifies a dedicated rustiron zone that opens only public web ports (80/tcp, 443/tcp, 443/udp for HTTP/3) and your active SSH port — keeping MariaDB (3306), OpenLiteSpeed WebAdmin (7080), the Console loopback listener (4319), and internal app ports closed to the internet.

Check or apply the rustiron firewalld zone safely (verifies sshd first) · Server (root)
sudo python3 packaging/firewall-zone.py --check
sudo python3 packaging/firewall-zone.py --apply

Managed systemd timers & traffic-budget deferral

RustIron ships packaged systemd timers for site WP-Cron (rustiron-site-cron.timer), standing backup captures (rustiron-scheduled-capture.timer), and Uptime Kuma heartbeats (rustiron-alert-checkin.timer). Under bursty traffic, the traffic-budget evaluator defers non-urgent background work while enforcing strict RPO deadlines.

Evaluate current traffic-budget decision for a background job · Server (unprivileged)
rustiron-control --background-budget /path/to/observation.json --job backup_capture --human