close
OS: CentOS 5.5
open port:
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
restart:
/etc/init.d/iptables restart
level status:
chkconfig --list iptables
stop or start level:
chkconfig --level 2 iptables off
save:
/etc/rc.d/init.d/iptables save
全站熱搜
留言列表