forked from extern/shorewall_code
dcc2fb27c5
Signed-off-by: Tom Eastep <teastep@shorewall.net>
245 lines
4.3 KiB
Plaintext
245 lines
4.3 KiB
Plaintext
###############################################################################
|
|
#
|
|
# Shorewall Version 4 -- /etc/shorewall6/shorewall6.conf
|
|
#
|
|
# For information about the settings in this file, type "man shorewall6.conf"
|
|
#
|
|
# Manpage also online at
|
|
# http://www.shorewall.net/manpages6/shorewall6.conf.html
|
|
###############################################################################
|
|
# S T A R T U P E N A B L E D
|
|
###############################################################################
|
|
|
|
STARTUP_ENABLED=No
|
|
|
|
###############################################################################
|
|
# V E R B O S I T Y
|
|
###############################################################################
|
|
|
|
VERBOSITY=1
|
|
|
|
###############################################################################
|
|
# L O G G I N G
|
|
###############################################################################
|
|
|
|
BLACKLIST_LOG_LEVEL=
|
|
|
|
INVALID_LOG_LEVEL=
|
|
|
|
LOG_VERBOSITY=2
|
|
|
|
LOGALLNEW=
|
|
|
|
LOGFILE=/var/log/messages
|
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
LOGLIMIT=
|
|
|
|
LOGTAGONLY=No
|
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
RELATED_LOG_LEVEL=
|
|
|
|
RPFILTER_LOG_LEVEL=info
|
|
|
|
SFILTER_LOG_LEVEL=info
|
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
STARTUP_LOG=/var/log/shorewall6-init.log
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
UNTRACKED_LOG_LEVEL=
|
|
|
|
###############################################################################
|
|
# L O C A T I O N O F F I L E S A N D D I R E C T O R I E S
|
|
###############################################################################
|
|
|
|
CONFIG_PATH="${CONFDIR}/shorewall6:/usr/share/shorewall6:${SHAREDIR}/shorewall"
|
|
|
|
GEOIPDIR=/usr/share/xt_geoip/LE
|
|
|
|
IP6TABLES=
|
|
|
|
IP=
|
|
|
|
IPSET=
|
|
|
|
LOCKFILE=
|
|
|
|
MODULESDIR=
|
|
|
|
NFACCT=
|
|
|
|
PERL=/usr/bin/perl
|
|
|
|
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin"
|
|
|
|
RESTOREFILE=restore
|
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
SUBSYSLOCK=/var/lock/subsys/shorewall6
|
|
|
|
TC=
|
|
|
|
###############################################################################
|
|
# D E F A U L T A C T I O N S / M A C R O S
|
|
###############################################################################
|
|
|
|
ACCEPT_DEFAULT=none
|
|
DROP_DEFAULT=Drop
|
|
NFQUEUE_DEFAULT=none
|
|
QUEUE_DEFAULT=none
|
|
REJECT_DEFAULT=Reject
|
|
|
|
###############################################################################
|
|
# R S H / R C P C O M M A N D S
|
|
###############################################################################
|
|
|
|
RCP_COMMAND='scp ${files} ${root}@${system}:${destination}'
|
|
RSH_COMMAND='ssh ${root}@${system} ${command}'
|
|
|
|
###############################################################################
|
|
# F I R E W A L L O P T I O N S
|
|
###############################################################################
|
|
|
|
ACCOUNTING=Yes
|
|
|
|
ACCOUNTING_TABLE=filter
|
|
|
|
ADMINISABSENTMINDED=Yes
|
|
|
|
BASIC_FILTERS=No
|
|
|
|
IGNOREUNKNOWNVARIABLES=No
|
|
|
|
AUTOCOMMENT=Yes
|
|
|
|
AUTOHELPERS=Yes
|
|
|
|
AUTOMAKE=No
|
|
|
|
BLACKLIST="NEW,INVALID,UNTRACKED"
|
|
|
|
CHAIN_SCRIPTS=Yes
|
|
|
|
CLAMPMSS=No
|
|
|
|
CLEAR_TC=No
|
|
|
|
COMPLETE=No
|
|
|
|
DEFER_DNS_RESOLUTION=Yes
|
|
|
|
DELETE_THEN_ADD=Yes
|
|
|
|
DONT_LOAD=
|
|
|
|
DYNAMIC_BLACKLIST=Yes
|
|
|
|
EXPAND_POLICIES=Yes
|
|
|
|
EXPORTMODULES=Yes
|
|
|
|
FASTACCEPT=No
|
|
|
|
FORWARD_CLEAR_MARK=Yes
|
|
|
|
HELPERS=
|
|
|
|
IMPLICIT_CONTINUE=No
|
|
|
|
INLINE_MATCHES=Yes
|
|
|
|
IPSET_WARNINGS=Yes
|
|
|
|
IP_FORWARDING=Off
|
|
|
|
KEEP_RT_TABLES=Yes
|
|
|
|
LEGACY_FASTSTART=No
|
|
|
|
LOAD_HELPERS_ONLY=Yes
|
|
|
|
MACLIST_TABLE=filter
|
|
|
|
MACLIST_TTL=
|
|
|
|
MANGLE_ENABLED=Yes
|
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
|
|
|
MODULE_SUFFIX=ko
|
|
|
|
MUTEX_TIMEOUT=60
|
|
|
|
OPTIMIZE=1
|
|
|
|
OPTIMIZE_ACCOUNTING=No
|
|
|
|
REJECT_ACTION=
|
|
|
|
REQUIRE_INTERFACE=No
|
|
|
|
RESTORE_ROUTEMARKS=Yes
|
|
|
|
TC_ENABLED=No
|
|
|
|
TC_EXPERT=No
|
|
|
|
TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
|
|
|
|
TRACK_PROVIDERS=No
|
|
|
|
TRACK_RULES=No
|
|
|
|
USE_DEFAULT_RT=Yes
|
|
|
|
USE_PHYSICAL_NAMES=No
|
|
|
|
USE_RT_NAMES=No
|
|
|
|
WARNOLDCAPVERSION=Yes
|
|
|
|
ZONE2ZONE=-
|
|
|
|
###############################################################################
|
|
# P A C K E T D I S P O S I T I O N
|
|
###############################################################################
|
|
|
|
BLACKLIST_DISPOSITION=DROP
|
|
|
|
INVALID_DISPOSITION=CONTINUE
|
|
|
|
MACLIST_DISPOSITION=REJECT
|
|
|
|
RELATED_DISPOSITION=ACCEPT
|
|
|
|
SFILTER_DISPOSITION=DROP
|
|
|
|
RPFILTER_DISPOSITION=DROP
|
|
|
|
SMURF_DISPOSITION=DROP
|
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
|
|
|
UNTRACKED_DISPOSITION=CONTINUE
|
|
|
|
################################################################################
|
|
# P A C K E T M A R K L A Y O U T
|
|
################################################################################
|
|
|
|
TC_BITS=
|
|
|
|
PROVIDER_BITS=
|
|
|
|
PROVIDER_OFFSET=
|
|
|
|
MASK_BITS=
|
|
|
|
ZONE_BITS=0
|