π ~1 min read
Table of contents
Symptom & Impact
Required service ports close after reboot causing application outage.
Environment & Reproduction
Administrator adds runtime-only rules using firewall-cmd without –permanent.
Root Cause Analysis
Runtime rules are not persisted to permanent configuration.
Quick Triage
Compare firewall-cmd –list-all and –list-all –permanent outputs.
Step-by-Step Diagnosis
Audit active zone assignment and check service/port mappings for expected interfaces.

Solution – Primary Fix
Apply rules with –permanent then firewall-cmd –reload.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use Ansible firewalld module to enforce declarative permanent state.
Verification & Acceptance Criteria
Rules remain present after reboot and service checks pass.
Rollback Plan
Remove recently added permanent rules and reload to previous baseline.
Prevention & Hardening
Disallow ad-hoc runtime-only changes in production.
Related Errors & Cross-Refs
Connection refused after reboot, zone mismatch issues.
Related tutorial: View the step-by-step tutorial for oracle-linux-10.
View all oracle-linux-10 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
firewalld and firewall-cmd manuals for permanent configuration.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.