2008-12-10 03:07:09 +01:00
|
|
|
###############################################################################
|
2008-12-10 02:10:35 +01:00
|
|
|
#
|
2008-12-10 03:07:09 +01:00
|
|
|
# Shorewall version 3.4 - Sample shorewall.conf for one-interface configuration.
|
2008-12-10 02:10:35 +01:00
|
|
|
# Copyright (C) 2006 by the Shorewall Team
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# See the file README.txt for further details.
|
|
|
|
#
|
2008-12-20 17:00:29 +01:00
|
|
|
# For information about the settings in this file, type "man shorewall6.conf"
|
2008-12-10 02:10:35 +01:00
|
|
|
#
|
|
|
|
# The manpage is also online at
|
2008-12-20 17:00:29 +01:00
|
|
|
# http://shorewall.net/manpages6/shorewall6.conf.html
|
2008-12-10 02:10:35 +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
|
|
|
|
|
|
|
|
STARTUP_LOG=
|
|
|
|
|
|
|
|
LOG_VERBOSITY=
|
|
|
|
|
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
|
|
|
|
LOGTAGONLY=No
|
|
|
|
|
|
|
|
LOGRATE=
|
|
|
|
|
|
|
|
LOGBURST=
|
|
|
|
|
|
|
|
LOGALLNEW=
|
|
|
|
|
|
|
|
BLACKLIST_LOGLEVEL=
|
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
|
2008-12-12 22:31:31 +01:00
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
|
2008-12-10 02:10:35 +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 03:07:09 +01:00
|
|
|
IP6TABLES=
|
2008-12-10 02:10:35 +01:00
|
|
|
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
|
|
|
|
|
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
|
2009-04-17 20:30:59 +02:00
|
|
|
SUBSYSLOCK=
|
2008-12-10 02:10:35 +01:00
|
|
|
|
|
|
|
MODULESDIR=
|
|
|
|
|
2009-01-31 03:06:31 +01:00
|
|
|
CONFIG_PATH=/etc/shorewall6/:/usr/share/shorewall6:/usr/share/shoreall/
|
2008-12-10 02:10:35 +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=On
|
|
|
|
|
2008-12-10 03:07:09 +01:00
|
|
|
TC_ENABLED=No
|
2008-12-10 02:10:35 +01:00
|
|
|
|
|
|
|
TC_EXPERT=No
|
|
|
|
|
|
|
|
CLEAR_TC=Yes
|
|
|
|
|
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
|
|
|
|
|
|
|
CLAMPMSS=No
|
|
|
|
|
|
|
|
MUTEX_TIMEOUT=60
|
|
|
|
|
|
|
|
ADMINISABSENTMINDED=Yes
|
|
|
|
|
|
|
|
BLACKLISTNEWONLY=Yes
|
|
|
|
|
|
|
|
MODULE_SUFFIX=
|
|
|
|
|
|
|
|
FASTACCEPT=No
|
|
|
|
|
|
|
|
IMPLICIT_CONTINUE=No
|
|
|
|
|
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
|
|
|
|
OPTIMIZE=1
|
|
|
|
|
|
|
|
EXPORTPARAMS=No
|
|
|
|
|
|
|
|
EXPAND_POLICIES=No
|
|
|
|
|
2008-12-13 00:20:47 +01:00
|
|
|
KEEP_RT_TABLES=Yes
|
2008-12-10 02:10:35 +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=Yes
|
|
|
|
|
2008-12-10 02:10:35 +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
|
|
|
|
|
|
|
|
#LAST LINE -- DO NOT REMOVE
|