<>1. see , close , Turn on the firewall

<>1.1 View firewall operation status
systemctl status firewalld
Output results
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Four 2020-06-04 14:33:47 CST; 28min ago Docs:
man:firewalld(1) Main PID: 814 (firewalld) Tasks: 2 CGroup:
/system.slice/firewalld.service └─814 /usr/bin/python2 -Es /usr/sbin/firewalld
--nofork --nopid
according to running hear , Firewall is currently running .

<>1.2 Turn off firewall
systemctl stop firewalld.service
The firewall is now closed .

View command using firewall systemctl status firewalld.service see .
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Four 2020-06-04 16:25:12 CST; 1min 37s ago Docs:
man:firewalld(1) Process: 814 ExecStart=/usr/sbin/firewalld --nofork --nopid
$FIREWALLD_ARGS (code=exited, status=0/SUCCESS) Main PID: 814 (code=exited,
status=0/SUCCESS)
adopt dead find , Firewall service is down .

<>1.3 Turn on the firewall
systemctl start firewalld.service
Now the firewall is back on .

View command using firewall systemctl status firewalld.service see .
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Four 2020-06-04 16:30:41 CST; 47s ago Docs:
man:firewalld(1) Main PID: 3125 (firewalld) Tasks: 2 CGroup:
/system.slice/firewalld.service └─3125 /usr/bin/python2 -Es /usr/sbin/firewalld
--nofork --nopid
<>1.4 Other operations of firewall

* Power on disable firewall self start command : systemctl disable firewalld.service
* Firewall starts with the system : systemctl enable firewalld.service

Technology
©2019-2020 Toolsou All rights reserved,
It's unexpected Python Cherry tree (turtle The gorgeous style of Library )html Writing about cherry trees , Writing about cherry trees java Four functional interfaces ( a key , simple ) Browser kernel ( understand )06【 Interpretation according to the frame 】 Data range filtering -- awesome HashMap Explain in detail os Simple use of module computer network --- Basic concepts of computer network ( agreement , system ) Some East 14 Pay change 16 salary , Sincerity or routine ?