|
|
a2749a |
# Load additional iptables modules (nat helpers)
|
|
|
a2749a |
# Default: -none-
|
|
|
a2749a |
# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
|
|
|
a2749a |
# are loaded after the firewall rules are applied. Options for the helpers are
|
|
|
a2749a |
# stored in /etc/modprobe.conf.
|
|
|
a2749a |
IPTABLES_MODULES=""
|
|
|
a2749a |
|
|
|
a2749a |
# Unload modules on restart and stop
|
|
|
a2749a |
# Value: yes|no, default: yes
|
|
|
a2749a |
# This option has to be 'yes' to get to a sane state for a firewall
|
|
|
a2749a |
# restart or stop. Only set to 'no' if there are problems unloading netfilter
|
|
|
a2749a |
# modules.
|
|
|
a2749a |
IPTABLES_MODULES_UNLOAD="yes"
|
|
|
a2749a |
|
|
|
a2749a |
# Save current firewall rules on stop.
|
|
|
a2749a |
# Value: yes|no, default: no
|
|
|
a2749a |
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
|
|
|
a2749a |
# (e.g. on system shutdown).
|
|
|
a2749a |
IPTABLES_SAVE_ON_STOP="no"
|
|
|
a2749a |
|
|
|
a2749a |
# Save current firewall rules on restart.
|
|
|
a2749a |
# Value: yes|no, default: no
|
|
|
a2749a |
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
|
|
|
a2749a |
# restarted.
|
|
|
a2749a |
IPTABLES_SAVE_ON_RESTART="no"
|
|
|
a2749a |
|
|
|
a2749a |
# Save (and restore) rule and chain counter.
|
|
|
a2749a |
# Value: yes|no, default: no
|
|
|
a2749a |
# Save counters for rules and chains to /etc/sysconfig/iptables if
|
|
|
a2749a |
# 'service iptables save' is called or on stop or restart if SAVE_ON_STOP or
|
|
|
a2749a |
# SAVE_ON_RESTART is enabled.
|
|
|
a2749a |
IPTABLES_SAVE_COUNTER="no"
|
|
|
a2749a |
|
|
|
a2749a |
# Numeric status output
|
|
|
a2749a |
# Value: yes|no, default: yes
|
|
|
a2749a |
# Print IP addresses and port numbers in numeric format in the status output.
|
|
|
a2749a |
IPTABLES_STATUS_NUMERIC="yes"
|
|
|
a2749a |
|
|
|
a2749a |
# Verbose status output
|
|
|
a2749a |
# Value: yes|no, default: yes
|
|
|
a2749a |
# Print info about the number of packets and bytes plus the "input-" and
|
|
|
a2749a |
# "outputdevice" in the status output.
|
|
|
a2749a |
IPTABLES_STATUS_VERBOSE="no"
|
|
|
a2749a |
|
|
|
a2749a |
# Status output with numbered lines
|
|
|
a2749a |
# Value: yes|no, default: yes
|
|
|
a2749a |
# Print a counter/number for every rule in the status output.
|
|
|
a2749a |
IPTABLES_STATUS_LINENUMBERS="yes"
|
|
|
ea7f4c |
|
|
|
ea7f4c |
# Reload sysctl settings on start and restart
|
|
|
ea7f4c |
# Default: -none-
|
|
|
ea7f4c |
# Space separated list of sysctl items which are to be reloaded on start.
|
|
|
ea7f4c |
# List items will be matched by fgrep.
|
|
|
ea7f4c |
#IPTABLES_SYSCTL_LOAD_LIST=".nf_conntrack .bridge-nf"
|
|
|
4c06eb |
|
|
|
4c06eb |
# Set wait option for iptables-restore calls in seconds
|
|
|
4c06eb |
# Default: 600
|
|
|
4c06eb |
# Set to 0 to deactivate the wait.
|
|
|
4c06eb |
#IPTABLES_RESTORE_WAIT=600
|
|
|
4c06eb |
|
|
|
4c06eb |
# Set wait interval option for iptables-restore calls in microseconds
|
|
|
4c06eb |
# Default: 1000000
|
|
|
4c06eb |
# Set to 100000 to try to get the lock every 100000 microseconds, 10 times a
|
|
|
4c06eb |
# second.
|
|
|
4c06eb |
# Only usable with IPTABLES_RESTORE_WAIT > 0
|
|
|
4c06eb |
#IPTABLES_RESTORE_WAIT_INTERVAL=1000000
|