1. Show the status of the firewallRun the following command with root privileges:
# iptables-l-n-v
Parameter description:
-L: Lists the rules.
-V: Displays detailed information. This option displays the interface name,
Netfilter/iptables is an IP information packet filtering system integrated with the latest Linux kernel version 2.4.x. If the Linux system is connected to the Internet or LAN, server, or a proxy server connected to the LAN and Internet, the system
**************************************** * ************************ About firewall system recovery operations and startup methods ***** **************************************** **************************************** ********************************
0x00 iptables Introduction
The package filtering function of linux is the linux firewall, which consists of netfilter and iptables.
The netfilter component, also known as the kernel space, is a part of the kernel. It consists of information packet
1. in fact, the matching extension also needs to be added to the display extension of the-m reference module. the default value is implicit extension. do not use the-m status Detection Package to filter-mstate -- state {NEW, ESTATBLISHED, INVALID,
Firewall: Includes a software firewall (Iptables/netfilter-based packet filtering firewall) and hardware firewall, at the host or network edge of the message through the firewall to detect a certain conditions filtering a series of components.The
1. in fact, the matching extension also needs to be added to the display extension of the-m reference module. the default value is implicit extension. do not use the-m status Detection Package to filter-mstate -- state {NEW, ESTATBLISHED, INVALID,
Linux command: Compile and install iptablesFirst, compile and install iptables before preparing:Three documents to be backed up before uninstalling iptables : iptables startup script, Iptables-config configuration document, and established Iptables
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.