![]() ![]() Reject all packages: firewall-cmd -panic-onĬancel reject status: firewall-cmd -panic-offĬheck whether to reject: firewall-cmd -query-panic 4. To view the region of the specified interface: firewall-cmd -get-zone-of-interface=eth0 View area information: firewall-cmd -get-active-zones Update firewall rules: firewall-cmd -reload View all open ports: firewall-cmd -zone=public -list-ports Start a service: systemctl start rvice Close a service: systemctl stop rvice Restart a service: systemctl restart rvice Displays the status of a service: systemctl status rvice Enable a service on startup: systemctl enable rvice Disable a service on startup: systemctl disable rvice Check whether the service is started: systemctl is-enabled rvice View the list of started services: systemctl list-unit-files|grep enabled View the list of services that failed to start: systemctl -failed 3. Startup enable: systemctl enable firewalld 2. Power on disable: systemctl disable firewalld ![]() View firewall status: systemctl status firewalld Turn off firewall: systemctl stop firewalld Start firewall: systemctl start firewalld ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |