如何關(guān)閉防火墻?

CentOS 7.0默認(rèn)使用的是firewall作為防火墻。?
常用firewall命令點(diǎn)擊(此處)折疊或打開?
systemctl stop firewalld.service ?#停止firewall?
systemctl disable firewalld.service #禁止firewall開機(jī)啟動?
firewall-cmd -- state ??????#查看默認(rèn)防火墻狀態(tài)(關(guān)閉后顯示notrunning,開啟后顯示running)?
操作示例查看防火墻狀態(tài)點(diǎn)擊(此處)折疊或打開?
[hoegh@localhost Desktop]$ firewall-cmd --state?
running?
關(guān)閉防火墻點(diǎn)擊(此處)折疊或打開?
[hoegh@localhost Desktop]$ systemctl stop firewalld.service?
PolicyKit daemon disconnected from the bus.?
We are no longer a registered authentication agent.?
PolicyKit daemon reconnected to bus.?
Attempting to re-register as an authentication agent.?
We are now a registered authentication agent.?
[hoegh@localhost Desktop]$?
[hoegh@localhost Desktop]$ firewall-cmd --state?
not running?
[hoegh@localhost Desktop]$?
禁止自動啟動點(diǎn)擊(此處)折疊或打開?
[hoegh@localhost Desktop]$?
[hoegh@localhost Desktop]$ systemctl disable firewalld.service?
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.?
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.?
[hoegh@localhost Desktop]$?
~~~~~~~ the end~~~~~~~~~hoegh2017.11.3?
了解更多網(wǎng)絡(luò)知識關(guān)注:http://www.vecloud.com/