日日噜噜夜夜狠狠久久丁香五月,人人摸人人操,人人妻人人,添人人爽,欧美一区,色婷婷综合缴情综,欧美午夜精品久久久久久浪潮

<>
文檔首頁> Linux> linux下如何關(guān)閉系統(tǒng)防火墻

linux下如何關(guān)閉系統(tǒng)防火墻

發(fā)布時(shí)間:2021-10-06 16:37       

1、使用iptables --help可以查看幫助使用命令

2、可以使用以下命令查看iptables的狀態(tài)service iptables status

3、當(dāng)然還有其他的一些參數(shù)選擇,可以使用service iptables -help幫助一下,其實(shí)就是停止的意思,直接上命令如果需要永久關(guān)閉iptables,

使用chkconfig iptables off  這樣以后開機(jī)也不需要再去做設(shè)置了,永久性的關(guān)閉了

 

1:查看防火狀態(tài)

systemctl status firewalld

service  iptables status

2:暫時(shí)關(guān)閉防火墻

systemctl stop firewalld

service  iptables stop

3:永久關(guān)閉防火墻

systemctl disable firewalld

chkconfig iptables off

4:重啟防火墻

systemctl enable firewalld

service iptables restart  

5:永久關(guān)閉后重啟

chkconfig iptables on