Common commands for CentOS7 iptables firewall
http://www.cnblogs.com/kreo/p/4368811.html
iptables -L
vi /etc/sysconfig/iptables
service iptables status
netstat -an | grep custom port
iptables -A INPUT -p tcp --dport custom port -j ACCEPT
service iptables save
systemctl restart iptables.service
netstat -tlanp | grep custom port