linux_firewalld

systemctl start firewalld
systemctl status firewalld
firewall-cmd --state
firewall-cmd --reload
firewall-cmd --get-default-zone
firewall-cmd --get-active-zone
firewall-cmd --list-all
firewall-cmd --list-port(s)
firewall-cmd --list-service(s)
firewall-cmd --zone=public --list-ports --permanent
firewall-cmd --zone=public --list-services --permanent
firewall-cmd --zone=public --add-port=8080-8090/tcp --permanent
firewall-cmd --zone=public --add-service=https --permanent
firewall-cmd --zone=public --add-rich-rule=" rule family=“ipv4” source dress=“192.168.0.4/24” service name=“http” accept" --permanent
firewall-cmd --zone=public --remove-rich-rule=“rule family=“ipv4” source dress=“192.168.0.4/24” service name=“http” accept”
firewall-cmd --query-service server_name
iptables -L -n | grep port_id
iptables -L CHAIN_name