Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

FirewallD is not running

# check the status of the service (running and eanbled)
systemctl status firewalld

# if the service is not running, start it
systemctl start firewalld

# if the service has exited , restart it(check for error if any)
systemctl restart firewalld

# if the service is not enabled, enable it
systemctl enable firewalld
 
PREVIOUS NEXT
Tagged: #FirewallD #running
ADD COMMENT
Topic
Name
2+9 =