Posted on April 29, 2008April 30, 2008 by HongyuRedHat/CentOS firewall configuration file /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5901 -j ACCEPT