1. 程式人生 > >linux防火牆開啟和關閉

linux防火牆開啟和關閉

檢視防火牆狀態

systemctl status firewalld 關閉防火牆,重啟後失效

systemctl stop firewalld 關閉防火牆,重啟後仍保持關閉

systemctl disable firewalld 開啟防火牆

systemctl enable firewalld