1. Open port: /sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT
2. Save: /etc/rc.d/init.d/iptables save
3. Restart the firewall to make the configuration take effect: /etc/init.d/iptables restart
4. View open ports: /etc/init.d/iptables status
1. Open port: /sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT
2. Save: /etc/rc.d/init.d/iptables save
3. Restart the firewall to make the configuration take effect: /etc/init.d/iptables restart
4. View open ports: /etc/init.d/iptables status