The iptables initial script is controlled by the/etc/sysconfig/iptables-config configuration file. The following is a list of items included in this file: IPTABLES_MODULES-when the firewall is activated, specify an additional set of space independent iptables modules for loading. This can include connectiontracking and NAThelper. IPTAB IptablesThe initial script is run by/etc/sysconfig/ Iptables-Config configuration file control. The following is a list of items included in this file: IPTABLES_MODULES-when the firewall is activated, specify an additional set of space independent iptables modules for loading. This can include connection tracking and NAT helper.
IPTABLES_MODULES_UNLOAD-the module that is uninstalled when it is restarted or stopped. This item accepts the following values:
Yes-default value. This option must be set to reach a correct state when a firewall is started and stopped.
No-this option should be set only when the netfilter module is uninstalled.
IPTABLES_SAVE_ON_STOP-when the firewall is stopped, save the current firewall rule to/etc/sysconfig/iptables. This item accepts the following values:
Yes-when the firewall is stopped, the existing rules are saved to/etc/sysconfig/iptables, and earlier versions are saved as/etc/sysconfig/iptables. save.
No-default value. When the firewall is stopped, the current rule is not saved.
IPTABLES_SAVE_ON_RESTART-when the firewall restarts, save the current firewall rule. This item accepts the following values:
Yes-when the firewall is restarted, the existing rules are saved to/etc/sysconfig/iptables, and earlier versions are saved as/etc/sysconfig/iptables. save. No-default value. When the firewall is restarted, existing rules are not saved.
IPTABLES_SAVE_COUNTER-save and restore data packets and byte counters in all chains and rules. This item accepts the following values:
Yes-save the counter value.
No-default value. Do not save the counter value.
IPTABLES_STATUS_NUMERIC-the output IP address is in the numeric format, rather than the domain name and host name format. This item accepts the following values:
Yes-default value. Only IP addresses are included in the status output.
No-the domain name or host name is returned in the status output.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service