開關防火牆

servcie network restart   重啓網卡ide

 

ifdown eth0   中止eth0網卡spa

 

ifup eth0   開啓eth0網卡rest

 

1 關閉防火牆-----service iptables stopxml

2 啓動防火牆-----service iptables startip

3 重啓防火牆-----service iptables restartci

4 查看防火牆狀態--service iptables statusit

5 永久關閉防火牆--chkconfig iptables offtable

6 永久關閉後啓用--chkconfig iptables onclass

相關文章
相關標籤/搜索