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
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
LOGFILE=/var/log/messages
|
|
|
|
|
2009-11-01 20:09:17 +01:00
|
|
|
STARTUP_LOG=/var/log/shorewall6-init.log
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2009-11-01 20:09:17 +01:00
|
|
|
LOG_VERBOSITY=2
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
|
|
|
|
LOGTAGONLY=No
|
|
|
|
|
2010-07-27 15:44:10 +02:00
|
|
|
LOGLIMIT=
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
LOGALLNEW=
|
|
|
|
|
|
|
|
BLACKLIST_LOGLEVEL=
|
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
|
2008-12-12 22:31:31 +01:00
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
|
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
|
|
|
|
###############################################################################
|
|
|
|
|
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=
|
|
|
|
|
|
|
|
TC=
|
|
|
|
|
|
|
|
IPSET=
|
|
|
|
|
2010-07-05 22:11:52 +02:00
|
|
|
PERL=/usr/bin/perl
|
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
|
|
|
|
|
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
|
|
|
|
SUBSYSLOCK=/var/lock/subsys/shorewall
|
|
|
|
|
|
|
|
MODULESDIR=
|
|
|
|
|
2008-12-13 19:32:06 +01:00
|
|
|
CONFIG_PATH=/etc/shorewall6:/usr/share/shorewall6:/usr/share/shorewall
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
RESTOREFILE=
|
|
|
|
|
|
|
|
LOCKFILE=
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# D E F A U L T A C T I O N S / M A C R O S
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
DROP_DEFAULT="Drop"
|
|
|
|
REJECT_DEFAULT="Reject"
|
|
|
|
ACCEPT_DEFAULT="none"
|
|
|
|
QUEUE_DEFAULT="none"
|
|
|
|
NFQUEUE_DEFAULT="none"
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# R S H / R C P C O M M A N D S
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
RSH_COMMAND='ssh ${root}@${system} ${command}'
|
|
|
|
RCP_COMMAND='scp ${files} ${root}@${system}:${destination}'
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# F I R E W A L L O P T I O N S
|
|
|
|
###############################################################################
|
|
|
|
|
2008-12-12 01:08:03 +01:00
|
|
|
IP_FORWARDING=Off
|
|
|
|
|
2008-12-10 19:51:01 +01:00
|
|
|
TC_ENABLED=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
TC_EXPERT=No
|
|
|
|
|
2010-01-21 19:38:32 +01:00
|
|
|
TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
|
|
|
|
|
2008-12-10 19:51:01 +01:00
|
|
|
CLEAR_TC=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
|
|
|
|
|
|
|
CLAMPMSS=No
|
|
|
|
|
|
|
|
MUTEX_TIMEOUT=60
|
|
|
|
|
|
|
|
ADMINISABSENTMINDED=Yes
|
|
|
|
|
|
|
|
BLACKLISTNEWONLY=Yes
|
|
|
|
|
2010-01-02 18:29:02 +01:00
|
|
|
MODULE_SUFFIX=ko
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
FASTACCEPT=No
|
|
|
|
|
|
|
|
IMPLICIT_CONTINUE=No
|
|
|
|
|
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
|
2008-12-10 19:51:01 +01:00
|
|
|
OPTIMIZE=1
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2011-01-09 19:12:36 +01:00
|
|
|
EXPORTPARAMS=No
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
EXPAND_POLICIES=Yes
|
|
|
|
|
2008-12-13 00:20:47 +01:00
|
|
|
KEEP_RT_TABLES=Yes
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
DELETE_THEN_ADD=Yes
|
|
|
|
|
|
|
|
DONT_LOAD=
|
|
|
|
|
|
|
|
AUTO_COMMENT=Yes
|
|
|
|
|
|
|
|
MANGLE_ENABLED=Yes
|
|
|
|
|
2009-03-31 19:31:23 +02:00
|
|
|
AUTOMAKE=No
|
|
|
|
|
2009-04-20 22:26:47 +02:00
|
|
|
WIDE_TC_MARKS=No
|
|
|
|
|
2009-10-20 22:24:17 +02:00
|
|
|
TRACK_PROVIDERS=No
|
|
|
|
|
2009-11-10 23:12:55 +01:00
|
|
|
ZONE2ZONE=2
|
|
|
|
|
2010-01-18 01:18:44 +01:00
|
|
|
ACCOUNTING=Yes
|
|
|
|
|
|
|
|
OPTIMIZE_ACCOUNTING=No
|
|
|
|
|
|
|
|
DYNAMIC_BLACKLIST=Yes
|
|
|
|
|
2010-01-22 00:33:26 +01:00
|
|
|
LOAD_HELPERS_ONLY=No
|
|
|
|
|
2010-08-01 17:36:56 +02:00
|
|
|
REQUIRE_INTERFACE=No
|
|
|
|
|
|
|
|
FORWARD_CLEAR_MARK=Yes
|
|
|
|
|
|
|
|
COMPLETE=No
|
2010-07-05 00:58:37 +02:00
|
|
|
|
2011-02-06 17:42:35 +01:00
|
|
|
EXPORTMODULES=Yes
|
2011-01-22 17:13:17 +01:00
|
|
|
|
2011-05-17 21:51:33 +02:00
|
|
|
ACCOUNTING_TABLE=filter
|
|
|
|
|
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
|
|
|
|
|
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
2009-08-05 16:59:32 +02:00
|
|
|
|
2011-05-22 00:02:04 +02:00
|
|
|
SMURF_DISPOSITION=DROP
|
|
|
|
|
2009-08-05 16:59:32 +02:00
|
|
|
#LAST LINE -- DO NOT REMOVE
|