forked from extern/shorewall_code
2cbb02649c
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5143 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
162 lines
3.3 KiB
Plaintext
162 lines
3.3 KiB
Plaintext
###############################################################################
|
|
#
|
|
# Shorewall version 3.4 - Sample shorewall.conf for three-interface
|
|
# configuration.
|
|
# 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.
|
|
#
|
|
# 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
|
|
|
|
LOGFORMAT="Shorewall:%s:%s:"
|
|
|
|
LOGTAGONLY=No
|
|
|
|
LOGRATE=
|
|
|
|
LOGBURST=
|
|
|
|
LOGALLNEW=
|
|
|
|
BLACKLIST_LOGLEVEL=
|
|
|
|
MACLIST_LOG_LEVEL=info
|
|
|
|
TCP_FLAGS_LOG_LEVEL=info
|
|
|
|
RFC1918_LOG_LEVEL=info
|
|
|
|
SMURF_LOG_LEVEL=info
|
|
|
|
LOG_MARTIANS=No
|
|
|
|
###############################################################################
|
|
# 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=
|
|
|
|
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
|
|
|
|
###############################################################################
|
|
# 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"
|
|
|
|
###############################################################################
|
|
# 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
|
|
|
|
MODULE_SUFFIX=
|
|
|
|
DISABLE_IPV6=Yes
|
|
|
|
BRIDGING=No
|
|
|
|
DYNAMIC_ZONES=No
|
|
|
|
PKTTYPE=Yes
|
|
|
|
RFC1918_STRICT=No
|
|
|
|
MACLIST_TABLE=filter
|
|
|
|
MACLIST_TTL=
|
|
|
|
SAVE_IPSETS=No
|
|
|
|
MAPOLDACTIONS=No
|
|
|
|
FASTACCEPT=No
|
|
|
|
IMPLICIT_CONTINUE=Yes
|
|
|
|
HIGH_ROUTE_MARKS=No
|
|
|
|
USE_ACTIONS=Yes
|
|
|
|
OPTIMIZE=1
|
|
|
|
###############################################################################
|
|
# 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
|
|
|
|
#LAST LINE -- DO NOT REMOVE
|