2010-07-31 20:40:28 +02:00
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# 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=Yes
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# V E R B O S I T Y
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
VERBOSITY=1
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# L O G G I N G
|
|
|
|
###############################################################################
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
BLACKLIST_LOGLEVEL=
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
LOG_VERBOSITY=2
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
LOGALLNEW=
|
|
|
|
|
2011-05-29 05:22:08 +02:00
|
|
|
LOGBURST=
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
LOGFILE=
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
LOGLIMIT=
|
|
|
|
|
2011-05-29 05:22:08 +02:00
|
|
|
LOGRATE=
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
LOGTAGONLY=No
|
|
|
|
|
2011-05-29 05:22:08 +02:00
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
SFILTER_LOG_LEVEL=info
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
SMURF_LOG_LEVEL=info
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
STARTUP_LOG=/var/log/shorewall6-init.log
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# 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
|
|
|
|
###############################################################################
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
CONFIG_PATH=/etc/shorewall6:/usr/share/shorewall6:/usr/share/shorewall
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
IP6TABLES=
|
|
|
|
|
|
|
|
IP=
|
|
|
|
|
|
|
|
IPSET=
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
MODULESDIR=
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
PERL=/usr/bin/perl
|
|
|
|
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
RESTOREFILE=
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
|
2010-08-01 17:36:56 +02:00
|
|
|
SUBSYSLOCK=
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TC=
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# D E F A U L T A C T I O N S / M A C R O S
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
ACCEPT_DEFAULT="none"
|
2011-05-28 21:38:12 +02:00
|
|
|
DROP_DEFAULT="Drop"
|
2010-07-31 20:40:28 +02:00
|
|
|
NFQUEUE_DEFAULT="none"
|
2011-05-28 21:38:12 +02:00
|
|
|
QUEUE_DEFAULT="none"
|
|
|
|
REJECT_DEFAULT="Reject"
|
2010-07-31 20:40:28 +02: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 21:38:12 +02:00
|
|
|
RSH_COMMAND='ssh ${root}@${system} ${command}'
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# F I R E W A L L O P T I O N S
|
|
|
|
###############################################################################
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
ACCOUNTING=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
ACCOUNTING_TABLE=filter
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
ADMINISABSENTMINDED=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
AUTO_COMMENT=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
AUTOMAKE=No
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
BLACKLISTNEWONLY=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
CLAMPMSS=No
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
CLEAR_TC=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
COMPLETE=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
DELETE_THEN_ADD=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
DONT_LOAD=
|
|
|
|
|
|
|
|
DYNAMIC_BLACKLIST=Yes
|
|
|
|
|
|
|
|
EXPAND_POLICIES=Yes
|
|
|
|
|
|
|
|
EXPORTMODULES=Yes
|
|
|
|
|
|
|
|
EXPORTPARAMS=No
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2010-08-01 17:36:56 +02:00
|
|
|
FASTACCEPT=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
FORWARD_CLEAR_MARK=
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
IMPLICIT_CONTINUE=No
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
IP_FORWARDING=Off
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
KEEP_RT_TABLES=Yes
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
LEGACY_FASTSTART=No
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
LOAD_HELPERS_ONLY=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-29 05:22:08 +02:00
|
|
|
MACLIST_TABLE=filter
|
|
|
|
|
|
|
|
MACLIST_TTL=
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
MANGLE_ENABLED=Yes
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
MODULE_SUFFIX=ko
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
MUTEX_TIMEOUT=60
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
OPTIMIZE=15
|
2010-07-31 20:40:28 +02:00
|
|
|
|
|
|
|
OPTIMIZE_ACCOUNTING=No
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
REQUIRE_INTERFACE=Yes
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TC_ENABLED=No
|
2010-08-01 17:36:56 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TC_EXPERT=No
|
2010-08-01 17:36:56 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TRACK_PROVIDERS=Yes
|
2011-01-22 17:13:17 +01:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
WIDE_TC_MARKS=Yes
|
2011-05-17 21:51:33 +02:00
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
ZONE2ZONE=2
|
2011-05-23 02:42:50 +02:00
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
###############################################################################
|
|
|
|
# P A C K E T D I S P O S I T I O N
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
BLACKLIST_DISPOSITION=DROP
|
|
|
|
|
2011-05-29 05:22:08 +02:00
|
|
|
MACLIST_DISPOSITION=REJECTTTT
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
SFILTER_DISPOSITION=DROP
|
2010-07-31 20:40:28 +02:00
|
|
|
|
2011-05-23 02:42:50 +02:00
|
|
|
SMURF_DISPOSITION=DROP
|
|
|
|
|
2011-05-28 21:38:12 +02:00
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
|
|
|
|
2010-07-31 20:40:28 +02:00
|
|
|
#LAST LINE -- DO NOT REMOVE
|