Skip to content

firewalld

Active zones:

firewall-cmd --get-active-zones

One zome

firewall-cmd --list-all --zone=public

Add services

firewall-cmd --zone=public --add-service=zabbix-agent --permanent
firewall-cmd --reload

Add ports

firewall-cmd --zone=public --permanent --add-port=100/tcp
firewall-cmd --reload