/sbin/iptables -I RH-Firewall-1-INPUT -p tcp --dport 4662 -j ACCEPT
/sbin/iptables -I RH-Firewall-1-INPUT -p udp --dport 4665 -j ACCEPT
/sbin/iptables -I RH-Firewall-1-INPUT -p udp --dport 4672 -j ACCEPT
2. Get the rules saved to /etc/sysconfig/iptables using iptables-save
/sbin/service iptables save
3. Restart iptables
/etc/init.d/iptables restart
沒有留言:
張貼留言