2008-12-09 17:50:17 +01:00
|
|
|
###############################################################################
|
|
|
|
#
|
2010-03-30 20:53:36 +02:00
|
|
|
# Shorewall Version 4 -- /etc/shorewall6/shorewall6.conf
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-20 17:05:06 +01:00
|
|
|
# For information about the settings in this file, type "man shorewall6.conf"
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2010-03-30 20:53:36 +02:00
|
|
|
# Manpage also online at
|
|
|
|
# http://www.shorewall.net/manpages6/shorewall6.conf.html
|
2008-12-09 17:50:17 +01:00
|
|
|
###############################################################################
|
|
|
|
# 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
|
|
|
|
###############################################################################
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
BLACKLIST_LOGLEVEL=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2013-01-24 17:33:59 +01:00
|
|
|
INVALID_LOG_LEVEL=
|
|
|
|
|
2009-11-01 20:09:17 +01:00
|
|
|
LOG_VERBOSITY=2
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LOGALLNEW=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LOGFILE=/var/log/messages
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-07-03 21:53:47 +02:00
|
|
|
LOGLIMIT=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LOGTAGONLY=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-29 04:52:39 +02:00
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
|
2011-12-06 02:45:09 +01:00
|
|
|
RELATED_LOG_LEVEL=
|
|
|
|
|
2012-07-15 19:05:32 +02:00
|
|
|
RPFILTER_LOG_LEVEL=info
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
SFILTER_LOG_LEVEL=info
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2008-12-12 22:31:31 +01:00
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
STARTUP_LOG=/var/log/shorewall6-init.log
|
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
2011-05-25 02:07:31 +02:00
|
|
|
|
2013-01-25 00:42:01 +01:00
|
|
|
UNTRACKED_LOG_LEVEL=
|
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
###############################################################################
|
|
|
|
# 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
|
|
|
|
###############################################################################
|
|
|
|
|
2012-04-01 19:47:24 +02:00
|
|
|
CONFIG_PATH="${CONFDIR}/shorewall6:/usr/share/shorewall6:${SHAREDIR}/shorewall"
|
2011-05-28 19:34:54 +02:00
|
|
|
|
2012-05-25 16:05:38 +02:00
|
|
|
GEOIPDIR=/usr/share/xt_geoip/LE
|
2012-05-20 17:59:59 +02:00
|
|
|
|
2008-12-10 19:51:01 +01:00
|
|
|
IP6TABLES=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2009-04-18 18:28:25 +02:00
|
|
|
IP=
|
|
|
|
|
|
|
|
IPSET=
|
|
|
|
|
2012-04-16 16:21:06 +02:00
|
|
|
LOCKFILE=
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
MODULESDIR=
|
|
|
|
|
2012-07-28 20:21:16 +02:00
|
|
|
NFACCT=
|
|
|
|
|
2010-07-05 22:11:52 +02:00
|
|
|
PERL=/usr/bin/perl
|
|
|
|
|
2011-07-03 21:20:11 +02:00
|
|
|
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin"
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-29 04:43:45 +02:00
|
|
|
RESTOREFILE=restore
|
2011-05-28 19:34:54 +02:00
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
|
|
|
|
SUBSYSLOCK=/var/lock/subsys/shorewall
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TC=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# D E F A U L T A C T I O N S / M A C R O S
|
|
|
|
###############################################################################
|
|
|
|
|
2011-07-03 21:20:11 +02:00
|
|
|
ACCEPT_DEFAULT=none
|
|
|
|
DROP_DEFAULT=Drop
|
|
|
|
NFQUEUE_DEFAULT=none
|
|
|
|
QUEUE_DEFAULT=none
|
|
|
|
REJECT_DEFAULT=Reject
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# R S H / R C P C O M M A N D S
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
RCP_COMMAND='scp ${files} ${root}@${system}:${destination}'
|
2011-05-28 19:34:54 +02:00
|
|
|
RSH_COMMAND='ssh ${root}@${system} ${command}'
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# F I R E W A L L O P T I O N S
|
|
|
|
###############################################################################
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
ACCOUNTING=Yes
|
2008-12-12 01:08:03 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
ACCOUNTING_TABLE=filter
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
ADMINISABSENTMINDED=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2012-12-12 20:51:31 +01:00
|
|
|
IGNOREUNKNOWNVARIABLES=No
|
2012-12-04 18:04:34 +01:00
|
|
|
|
2012-08-02 20:02:17 +02:00
|
|
|
AUTOCOMMENT=Yes
|
|
|
|
|
2012-08-12 16:25:11 +02:00
|
|
|
AUTOHELPERS=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
AUTOMAKE=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
BLACKLISTNEWONLY=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
CLAMPMSS=No
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
CLEAR_TC=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
COMPLETE=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2013-01-13 22:23:38 +01:00
|
|
|
DEFER_DNS_RESOLUTION=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
DELETE_THEN_ADD=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
DONT_LOAD=
|
|
|
|
|
|
|
|
DYNAMIC_BLACKLIST=Yes
|
|
|
|
|
|
|
|
EXPAND_POLICIES=Yes
|
|
|
|
|
|
|
|
EXPORTMODULES=Yes
|
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
FASTACCEPT=No
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
FORWARD_CLEAR_MARK=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2012-08-03 19:53:20 +02:00
|
|
|
HELPERS=
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
IMPLICIT_CONTINUE=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2012-03-18 21:36:23 +01:00
|
|
|
IPSET_WARNINGS=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
IP_FORWARDING=Off
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2008-12-13 00:20:47 +01:00
|
|
|
KEEP_RT_TABLES=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LEGACY_FASTSTART=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
LOAD_HELPERS_ONLY=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-05-29 04:52:39 +02:00
|
|
|
MACLIST_TABLE=filter
|
|
|
|
|
|
|
|
MACLIST_TTL=
|
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
MANGLE_ENABLED=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
2009-04-20 22:26:47 +02:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
MODULE_SUFFIX=ko
|
2009-10-20 22:24:17 +02:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
MUTEX_TIMEOUT=60
|
2009-11-10 23:12:55 +01:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
OPTIMIZE=1
|
2010-01-18 01:18:44 +01:00
|
|
|
|
|
|
|
OPTIMIZE_ACCOUNTING=No
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
REQUIRE_INTERFACE=No
|
2010-01-18 01:18:44 +01:00
|
|
|
|
2012-10-11 16:34:57 +02:00
|
|
|
RESTORE_ROUTEMARKS=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TC_ENABLED=No
|
2010-08-01 17:36:56 +02:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TC_EXPERT=No
|
2010-08-01 17:36:56 +02:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
|
2010-07-05 00:58:37 +02:00
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TRACK_PROVIDERS=No
|
2011-01-22 17:13:17 +01:00
|
|
|
|
2011-10-26 14:59:27 +02:00
|
|
|
USE_DEFAULT_RT=No
|
|
|
|
|
2011-12-21 01:03:56 +01:00
|
|
|
USE_PHYSICAL_NAMES=No
|
|
|
|
|
2012-12-27 18:58:45 +01:00
|
|
|
WARNOLDCAPVERSION=Yes
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
ZONE2ZONE=2
|
2011-05-23 00:36:29 +02:00
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
###############################################################################
|
|
|
|
# P A C K E T D I S P O S I T I O N
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
BLACKLIST_DISPOSITION=DROP
|
|
|
|
|
2013-01-24 17:33:59 +01:00
|
|
|
INVALID_DISPOSITION=CONTINUE
|
|
|
|
|
2011-05-29 05:01:54 +02:00
|
|
|
MACLIST_DISPOSITION=REJECT
|
|
|
|
|
2011-12-06 02:45:09 +01:00
|
|
|
RELATED_DISPOSITION=ACCEPT
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
SFILTER_DISPOSITION=DROP
|
2009-08-05 16:59:32 +02:00
|
|
|
|
2012-07-15 19:05:32 +02:00
|
|
|
RPFILTER_DISPOSITION=DROP
|
|
|
|
|
2011-05-22 00:02:04 +02:00
|
|
|
SMURF_DISPOSITION=DROP
|
|
|
|
|
2011-05-28 19:34:54 +02:00
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
2011-11-20 01:54:10 +01:00
|
|
|
|
2013-01-25 00:42:01 +01:00
|
|
|
UNTRACKED_DISPOSITION=CONTINUE
|
|
|
|
|
2011-11-20 01:54:10 +01:00
|
|
|
################################################################################
|
|
|
|
# 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
|