2008-12-07 19:17:26 +01:00
|
|
|
###############################################################################
|
|
|
|
# /etc/shorewall/shorewall.conf Version 4 - Change the following variables to
|
|
|
|
# match your setup
|
|
|
|
#
|
|
|
|
# This program is under GPL
|
|
|
|
# [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]
|
|
|
|
#
|
|
|
|
# This file should be placed in /etc/shorewall
|
|
|
|
#
|
|
|
|
# (c) 1999,2000,2001,2002,2003,2004,2005,
|
|
|
|
# 2006,2007,2008 - Tom Eastep (teastep@shorewall.net)
|
|
|
|
#
|
|
|
|
# For information about the settings in this file, type "man shorewall.conf"
|
|
|
|
#
|
|
|
|
# Additional information is available at
|
|
|
|
# http://www.shorewall.net/Documentation.htm#Conf
|
|
|
|
###############################################################################
|
|
|
|
# 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-10-03 01:10:14 +02:00
|
|
|
STARTUP_LOG=/var/log/shorewall-init.log
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2009-10-03 01:10:14 +02:00
|
|
|
LOG_VERBOSITY=2
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
|
|
|
|
LOGTAGONLY=No
|
|
|
|
|
|
|
|
LOGRATE=
|
|
|
|
|
|
|
|
LOGBURST=
|
|
|
|
|
|
|
|
LOGALLNEW=
|
|
|
|
|
|
|
|
BLACKLIST_LOGLEVEL=
|
|
|
|
|
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
|
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
|
|
|
|
LOG_MARTIANS=Yes
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# 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
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
IPTABLES=
|
|
|
|
|
2009-04-18 18:28:25 +02:00
|
|
|
IP=
|
|
|
|
|
|
|
|
TC=
|
|
|
|
|
|
|
|
IPSET=
|
|
|
|
|
2008-12-07 19:17:26 +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=
|
|
|
|
|
|
|
|
CONFIG_PATH=/etc/shorewall:/usr/share/shorewall
|
|
|
|
|
|
|
|
RESTOREFILE=
|
|
|
|
|
|
|
|
IPSECFILE=zones
|
|
|
|
|
|
|
|
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
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
IP_FORWARDING=On
|
|
|
|
|
|
|
|
ADD_IP_ALIASES=Yes
|
|
|
|
|
|
|
|
ADD_SNAT_ALIASES=No
|
|
|
|
|
|
|
|
RETAIN_ALIASES=No
|
|
|
|
|
|
|
|
TC_ENABLED=Internal
|
|
|
|
|
|
|
|
TC_EXPERT=No
|
|
|
|
|
|
|
|
CLEAR_TC=Yes
|
|
|
|
|
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
|
|
|
|
|
|
|
CLAMPMSS=No
|
|
|
|
|
|
|
|
ROUTE_FILTER=No
|
|
|
|
|
|
|
|
DETECT_DNAT_IPADDRS=No
|
|
|
|
|
|
|
|
MUTEX_TIMEOUT=60
|
|
|
|
|
|
|
|
ADMINISABSENTMINDED=Yes
|
|
|
|
|
|
|
|
BLACKLISTNEWONLY=Yes
|
|
|
|
|
|
|
|
DELAYBLACKLISTLOAD=No
|
|
|
|
|
2010-01-02 18:29:02 +01:00
|
|
|
MODULE_SUFFIX=ko
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2009-07-07 03:38:10 +02:00
|
|
|
DISABLE_IPV6=No
|
2009-07-07 03:23:23 +02:00
|
|
|
|
2008-12-07 19:17:26 +01:00
|
|
|
BRIDGING=No
|
|
|
|
|
|
|
|
DYNAMIC_ZONES=No
|
|
|
|
|
|
|
|
PKTTYPE=Yes
|
|
|
|
|
2009-06-05 19:51:30 +02:00
|
|
|
NULL_ROUTE_RFC1918=No
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
MACLIST_TABLE=filter
|
|
|
|
|
|
|
|
MACLIST_TTL=
|
|
|
|
|
|
|
|
SAVE_IPSETS=No
|
|
|
|
|
|
|
|
MAPOLDACTIONS=No
|
|
|
|
|
|
|
|
FASTACCEPT=No
|
|
|
|
|
|
|
|
IMPLICIT_CONTINUE=No
|
|
|
|
|
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
|
|
|
|
USE_ACTIONS=Yes
|
|
|
|
|
|
|
|
OPTIMIZE=0
|
|
|
|
|
|
|
|
EXPORTPARAMS=Yes
|
|
|
|
|
|
|
|
EXPAND_POLICIES=Yes
|
|
|
|
|
|
|
|
KEEP_RT_TABLES=No
|
|
|
|
|
|
|
|
DELETE_THEN_ADD=Yes
|
|
|
|
|
|
|
|
MULTICAST=No
|
|
|
|
|
|
|
|
DONT_LOAD=
|
|
|
|
|
|
|
|
AUTO_COMMENT=Yes
|
|
|
|
|
|
|
|
MANGLE_ENABLED=Yes
|
|
|
|
|
|
|
|
USE_DEFAULT_RT=No
|
|
|
|
|
2009-02-21 18:21:51 +01:00
|
|
|
RESTORE_DEFAULT_ROUTE=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
|
|
|
|
|
2008-12-07 19:17:26 +01:00
|
|
|
###############################################################################
|
|
|
|
# P A C K E T D I S P O S I T I O N
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
BLACKLIST_DISPOSITION=DROP
|
|
|
|
|
|
|
|
MACLIST_DISPOSITION=REJECT
|
|
|
|
|
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
|
|
|
|
2009-08-05 16:59:32 +02:00
|
|
|
#LAST LINE -- DO NOT REMOVE
|