Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux system-- Overview of Firewalld Firewall commands

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Firewalld Firewall Command Overview Command list option description-- get-default-zone displays the default area for a network connection or interface-- set-default-zone=\ sets the default area for a network connection or interface-- get-active-zones displays all areas that have been activated-- get-zone-of-interface=\ shows the area bound by the specified interface-- zone=\-- add-interface=\ for the specified interface binding area-- zone= \-- change-interface=\ changes the bound network interface for the specified area-- zone=\-- remove-interface=\ deletes the bound network interface for the specified area-- query-interface=\ queries whether the zone contains an interface-- list-all-zones displays all zones and their rules [--zone=\]-- list-all shows all rules for all specified areas and descriptions of command options related to services [--zone=\]-- list-services displays all services allowed for access in a specified area [--zone=\]-- add-service=\ sets a service that is allowed to be accessed for a specified region [--zone=\]-- remove-service=\ deletes a service that has been set for access in a specified region [--zone=\]-- query-service=\ queries whether a service and port are enabled in the specified area. Related command option description [--zone=\]-- list-ports displays all port numbers allowed to be accessed in the specified area [--zone=\]-- add-port=\ [--timeout=\] enable zone port and protocol combination Optional configuration timeout [--zone=\]-- remove-port=\ [-\] /\ disable zone port and protocol combination [--zone=\]-- query-port=\ [-\] /\ query whether port and protocol combination blocking ICMP is enabled in the area. About the command option description [--zone=\]-- list-icmp-blocks displays all ICMP types blocked in the specified area [--zone=\] -- add-icmp-block=\ sets a blocked ICMP type for the specified region [--zone=\]-- remove-icmp-block=\ deletes a blocked ICMP type in the specified area [--zone=\]-- query-icmp-block=\ queries the ICMP blocking function in the specified area

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 266

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report