iptables 중지]# service iptables save]# service iptables stop]# chkconfig iptables off firewalld 사용]# yum install firewalld]# systemctl start firewalld]# systemctl enable firewalld 재시작firewall-cmd --reload 포트추가firewall-cmd --permanent --zone=public --add-port=8080/tcp 포트삭제firewall-cmd --permanent --zone=public --remove-port=8080/tcp ※ --permanent 사용안하면 --reload시 설정이 날아감 설정확인firewall-cmd --list-all