Permanently allow the HTTPS service.

Section: Firewalling with nftables and iptables

Allow service with firewalld

bash
bash
sudo firewall-cmd --permanent --add-service=https && sudo firewall-cmd --reload
Explanation

Permanently allow the HTTPS service.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Firewalling with nftables and iptables
Allow SSH with nftables
Permit inbound SSH traffic.
OpenIn sheetbashsame section
Allow SSH with iptables
Insert a rule allowing inbound SSH.
OpenIn sheetbashsame section
Allow a port with UFW
Allow inbound TCP on a specific port.
OpenIn sheetbashsame section
List firewalld settings
Show active firewalld zones and services.
OpenIn sheetbashsame section
Show nftables rules
Display the active nftables ruleset.
OpenIn sheetbashsame section
Create nftables table
Create an inet filter table.
OpenIn sheetbashsame section