QuestionQ29

VerifiedSystem Administration Fundamentals

On a Linux system where firewalld is enabled, how can you permit other systems to access the HTTPS port in the default firewall zone so that access takes effect immediately and remains available after reboots?

Explanation

firewall-cmd --add-service=https enables the predefined HTTPS service, which includes HTTPS access. The --permanent option saves the service rule for subsequent firewalld restarts and system reboots, while --reload applies that permanent configuration to the active firewall immediately. Omitting --zone uses the default zone.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!