2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
2007-06-16 16:27:02 +02:00
|
|
|
# /etc/shorewall/shorewall.conf V4.0 - Change the following variables to
|
2002-05-01 01:13:15 +02:00
|
|
|
# match your setup
|
|
|
|
#
|
2003-02-23 15:10:37 +01:00
|
|
|
# This program is under GPL [http://www.gnu.org/copyleft/gpl.htm]
|
2002-05-01 01:13:15 +02:00
|
|
|
#
|
|
|
|
# This file should be placed in /etc/shorewall
|
|
|
|
#
|
2005-07-09 07:45:05 +02:00
|
|
|
# (c) 1999,2000,2001,2002,2003,2004,2005 - Tom Eastep (teastep@shorewall.net)
|
2006-11-21 19:45:12 +01:00
|
|
|
#
|
|
|
|
# For information about the settings in this file, type "man shorewall.conf"
|
2006-12-09 19:12:19 +01:00
|
|
|
#
|
|
|
|
# Additional information is available at
|
|
|
|
# http://www.shorewall.net/Documentation.htm#Conf
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
|
|
|
# S T A R T U P E N A B L E D
|
|
|
|
###############################################################################
|
2005-07-09 07:45:05 +02:00
|
|
|
|
|
|
|
STARTUP_ENABLED=No
|
|
|
|
|
2006-01-23 18:48:15 +01:00
|
|
|
###############################################################################
|
|
|
|
# V E R B O S I T Y
|
|
|
|
###############################################################################
|
|
|
|
|
2006-01-24 18:44:19 +01:00
|
|
|
VERBOSITY=1
|
2006-01-23 18:48:15 +01:00
|
|
|
|
2007-03-24 21:15:05 +01:00
|
|
|
###############################################################################
|
2007-03-28 18:56:09 +02:00
|
|
|
# C O M P I L E R
|
|
|
|
# (setting this to 'perl' requires installation of Shorewall-perl)
|
2007-03-24 21:15:05 +01:00
|
|
|
###############################################################################
|
|
|
|
|
2007-04-09 23:40:30 +02:00
|
|
|
SHOREWALL_COMPILER=
|
2007-03-24 21:15:05 +01:00
|
|
|
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
|
|
|
# L O G G I N G
|
|
|
|
###############################################################################
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
LOGFILE=/var/log/messages
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2003-05-27 19:42:12 +02:00
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
2003-04-25 18:22:18 +02:00
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
LOGTAGONLY=No
|
|
|
|
|
2002-06-02 19:05:51 +02:00
|
|
|
LOGRATE=
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2006-11-21 00:39:46 +01:00
|
|
|
LOGBURST=
|
2005-07-09 07:45:05 +02:00
|
|
|
|
|
|
|
LOGALLNEW=
|
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
BLACKLIST_LOGLEVEL=
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
|
|
|
|
RFC1918_LOG_LEVEL=info
|
|
|
|
|
2005-07-09 06:45:32 +02:00
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
LOG_MARTIANS=No
|
2005-07-09 07:55:29 +02:00
|
|
|
|
2005-08-02 18:46:30 +02: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
|
|
|
|
###############################################################################
|
2005-07-09 07:55:29 +02:00
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
IPTABLES=
|
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
|
|
|
|
|
2003-06-28 17:22:22 +02:00
|
|
|
SHOREWALL_SHELL=/bin/sh
|
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
SUBSYSLOCK=/var/lock/subsys/shorewall
|
|
|
|
|
|
|
|
MODULESDIR=
|
|
|
|
|
2005-07-09 06:45:32 +02:00
|
|
|
CONFIG_PATH=/etc/shorewall:/usr/share/shorewall
|
|
|
|
|
|
|
|
RESTOREFILE=
|
2005-07-09 07:55:29 +02:00
|
|
|
|
2005-07-26 01:08:09 +02:00
|
|
|
IPSECFILE=zones
|
|
|
|
|
2007-04-16 01:41:13 +02:00
|
|
|
LOCKFILE=
|
|
|
|
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
2006-08-30 22:03:38 +02:00
|
|
|
# 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"
|
2006-08-31 08:14:47 +02:00
|
|
|
ACCEPT_DEFAULT="none"
|
|
|
|
QUEUE_DEFAULT="none"
|
2006-08-30 22:03:38 +02:00
|
|
|
|
|
|
|
###############################################################################
|
2007-05-01 19:21:14 +02:00
|
|
|
# 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}'
|
|
|
|
|
|
|
|
###############################################################################
|
2005-08-02 18:46:30 +02:00
|
|
|
# F I R E W A L L O P T I O N S
|
|
|
|
###############################################################################
|
2005-07-09 07:55:29 +02:00
|
|
|
|
2002-06-02 19:05:51 +02:00
|
|
|
IP_FORWARDING=On
|
2002-07-31 15:58:53 +02:00
|
|
|
|
2005-07-26 01:08:09 +02:00
|
|
|
ADD_IP_ALIASES=Yes
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2002-06-02 19:05:51 +02:00
|
|
|
ADD_SNAT_ALIASES=No
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
RETAIN_ALIASES=No
|
|
|
|
|
2005-10-09 17:47:47 +02:00
|
|
|
TC_ENABLED=Internal
|
2006-10-31 20:01:23 +01:00
|
|
|
|
2006-08-17 18:10:09 +02:00
|
|
|
TC_EXPERT=No
|
|
|
|
|
2005-12-10 21:11:07 +01:00
|
|
|
CLEAR_TC=Yes
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
MARK_IN_FORWARD_CHAIN=No
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2002-06-02 19:05:51 +02:00
|
|
|
CLAMPMSS=No
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2002-06-02 19:05:51 +02:00
|
|
|
ROUTE_FILTER=No
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2002-07-09 23:21:28 +02:00
|
|
|
DETECT_DNAT_IPADDRS=No
|
2002-07-09 17:44:49 +02:00
|
|
|
|
2002-07-24 05:47:34 +02:00
|
|
|
MUTEX_TIMEOUT=60
|
|
|
|
|
2003-08-01 04:49:12 +02:00
|
|
|
ADMINISABSENTMINDED=Yes
|
2003-07-30 01:04:04 +02:00
|
|
|
|
2003-10-11 18:06:00 +02:00
|
|
|
BLACKLISTNEWONLY=Yes
|
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
DELAYBLACKLISTLOAD=No
|
|
|
|
|
2003-12-01 19:30:28 +01:00
|
|
|
MODULE_SUFFIX=
|
|
|
|
|
2005-07-09 06:45:32 +02:00
|
|
|
DISABLE_IPV6=Yes
|
|
|
|
|
|
|
|
BRIDGING=No
|
|
|
|
|
2006-08-09 01:03:06 +02:00
|
|
|
DYNAMIC_ZONES=No
|
|
|
|
|
2005-07-09 06:45:32 +02:00
|
|
|
PKTTYPE=Yes
|
|
|
|
|
2005-07-09 07:45:05 +02:00
|
|
|
RFC1918_STRICT=No
|
|
|
|
|
2005-10-11 18:49:13 +02:00
|
|
|
MACLIST_TABLE=filter
|
|
|
|
|
2005-07-18 00:08:15 +02:00
|
|
|
MACLIST_TTL=
|
|
|
|
|
2005-07-09 07:55:29 +02:00
|
|
|
SAVE_IPSETS=No
|
|
|
|
|
2005-07-26 01:08:09 +02:00
|
|
|
MAPOLDACTIONS=No
|
|
|
|
|
2005-08-11 21:53:07 +02:00
|
|
|
FASTACCEPT=No
|
|
|
|
|
2006-03-24 01:05:09 +01:00
|
|
|
IMPLICIT_CONTINUE=Yes
|
|
|
|
|
2006-04-05 00:56:51 +02:00
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
|
2006-08-29 22:21:59 +02:00
|
|
|
USE_ACTIONS=Yes
|
|
|
|
|
2006-10-25 17:13:49 +02:00
|
|
|
OPTIMIZE=0
|
2006-10-23 23:18:37 +02:00
|
|
|
|
2007-02-09 17:15:08 +01:00
|
|
|
EXPORTPARAMS=Yes
|
|
|
|
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
|
|
|
# P A C K E T D I S P O S I T I O N
|
|
|
|
###############################################################################
|
2005-07-09 06:45:32 +02:00
|
|
|
|
2003-02-08 21:58:44 +01:00
|
|
|
BLACKLIST_DISPOSITION=DROP
|
|
|
|
|
2005-10-13 20:11:48 +02:00
|
|
|
MACLIST_DISPOSITION=REJECT
|
2002-10-22 20:07:52 +02:00
|
|
|
|
2002-11-10 22:34:20 +01:00
|
|
|
TCP_FLAGS_DISPOSITION=DROP
|
|
|
|
|
2002-05-01 01:13:15 +02:00
|
|
|
#LAST LINE -- DO NOT REMOVE
|