Command: Basic Command
sudo firewall-cmd
Command Propertie: Permanent
–permanent
Command Propertie: spezifische Zone
–zone=<zone></zone>
Command Propertie: Service hinzufügen
–add-service=<protokoll></protokoll>
Command Propertie: Service entfernen
–remove-service=<protokoll></protokoll>
Command Propertie: show allowed services
–get-services
Command Propertie: Port öffnen mit Port-type
–add-port=<port>/<port-type></port-type></port>
Commnad Propertie: Port schliessen mit Port-typ
–remove-port=<port>/<port-type></port-type></port>
Command: temporäre Config zu permanent
sudo firewall-cmd –runtime-to-permanent
Command: Regeln neuladen (aktivieren)
sudo firewall-cmd –reload