Affected versions: Oracle Linux 10

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Opened ports work temporarily but close after system reboot.

Environment & Reproduction

firewall-cmd –list-ports differs between runtime and permanent configs.

Root Cause Analysis

Run firewall-cmd –runtime-to-permanent check and inspect active zone.

Quick Triage

Rules were added without –permanent or placed in wrong zone.

Step-by-Step Diagnosis

Re-add ports with –permanent and reload firewalld.

Illustrative mockup for oracle-linux-10 — rhel10-b02-p29-1
Illustrative mockup — Progressive Robot — Illustrative mockup — Progressive Robot

Solution – Primary Fix

After reboot, confirm firewall-cmd –list-all still shows expected rules.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for oracle-linux-10 — rhel10-b02-p29-2
Illustrative mockup — Progressive Robot — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Standardize zone assignment and persistent rule automation.

Verification & Acceptance Criteria

Remove accidental rules using firewall-cmd –permanent –remove-port.

Rollback Plan

Manage rules via firewall system role or Ansible modules.

Prevention & Hardening

firewall-cmd –add-service=http –permanent; firewall-cmd –reload

Provide zone XML from /etc/firewalld and service exposure requirements.

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

NetworkManager connection zone bindings can override expectations.

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.