# yum install iptables-services
# iptables -I INPUT 1 -p tcp --dport 1000 -j ACCEPT
# service iptables save
# systemctl mask firewalld.service
# systemctl enable iptables.service
check
vi /etc/sysconfig/iptables
출처: http://blog.naver.com/PostView.nhn?blogId=jxs2&logNo=110147025566
https://fedoraproject.org/wiki/FirewallD#Using_static_firewall_rules_with_the_iptables_and_ip6tables_services
# iptables -I INPUT 1 -p tcp --dport 81 -j ACCEPT
답글삭제# systemctl start firewalld.service