shorewall_code/Shorewall/Samples/one-interface/shorewall.conf

299 lines
5.2 KiB
Plaintext
Raw Normal View History

###############################################################################
#
# Shorewall - Sample shorewall.conf for one-interface
# configuration.
# Copyright (C) 2006-2015 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"
#
# The manpage is also online at
# http://shorewall.net/manpages/shorewall.conf.html
#
###############################################################################
# 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
###############################################################################
# P A G E R
###############################################################################
PAGER=
###############################################################################
2011-05-28 21:38:12 +02:00
# L O G G I N G
###############################################################################
BLACKLIST_LOG_LEVEL=
INVALID_LOG_LEVEL=
LOG_BACKEND=
2011-05-28 21:38:12 +02:00
LOG_MARTIANS=Yes
2009-10-03 01:10:14 +02:00
LOG_VERBOSITY=2
2011-05-29 04:12:34 +02:00
LOGALLNEW=
2011-05-28 21:38:12 +02:00
LOGFILE=/var/log/messages
LOGFORMAT="Shorewall:%s:%s:"
LOGTAGONLY=No
LOGLIMIT=
MACLIST_LOG_LEVEL=info
RELATED_LOG_LEVEL=
RPFILTER_LOG_LEVEL=info
2011-05-28 21:38:12 +02:00
SFILTER_LOG_LEVEL=info
SMURF_LOG_LEVEL=info
2011-05-28 21:38:12 +02:00
STARTUP_LOG=/var/log/shorewall-init.log
TCP_FLAGS_LOG_LEVEL=info
UNTRACKED_LOG_LEVEL=
###############################################################################
# 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
###############################################################################
ARPTABLES=
CONFIG_PATH=${CONFDIR}/shorewall:${SHAREDIR}/shorewall
2011-05-28 21:38:12 +02:00
GEOIPDIR=/usr/share/xt_geoip/LE
IPTABLES=
2009-05-21 01:29:23 +02:00
IP=
IPSET=
LOCKFILE=
2011-05-28 21:38:12 +02:00
MODULESDIR=
NFACCT=
PERL=/usr/bin/perl
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
2011-05-28 21:38:12 +02:00
RESTOREFILE=restore
SHOREWALL_SHELL=/bin/sh
SUBSYSLOCK=
2011-05-28 21:38:12 +02:00
TC=
###############################################################################
# D E F A U L T A C T I O N S / M A C R O S
###############################################################################
ACCEPT_DEFAULT="none"
2011-05-28 21:38:12 +02:00
DROP_DEFAULT="Drop"
NFQUEUE_DEFAULT="none"
2011-05-28 21:38:12 +02:00
QUEUE_DEFAULT="none"
REJECT_DEFAULT="Reject"
###############################################################################
# R S H / R C P C O M M A N D S
###############################################################################
RCP_COMMAND='scp ${files} ${root}@${system}:${destination}'
2011-05-28 21:38:12 +02:00
RSH_COMMAND='ssh ${root}@${system} ${command}'
###############################################################################
# F I R E W A L L O P T I O N S
###############################################################################
2011-05-28 21:38:12 +02:00
ACCOUNTING=Yes
ACCOUNTING_TABLE=filter
ADD_IP_ALIASES=No
ADD_SNAT_ALIASES=No
2011-05-28 21:38:12 +02:00
ADMINISABSENTMINDED=Yes
BASIC_FILTERS=No
IGNOREUNKNOWNVARIABLES=No
AUTOCOMMENT=Yes
AUTOHELPERS=Yes
2011-05-28 21:38:12 +02:00
AUTOMAKE=No
BLACKLIST="NEW,INVALID,UNTRACKED"
2011-05-28 21:38:12 +02:00
CHAIN_SCRIPTS=No
2011-05-28 21:38:12 +02:00
CLAMPMSS=No
CLEAR_TC=Yes
2011-05-28 21:38:12 +02:00
COMPLETE=No
2013-01-13 22:23:38 +01:00
DEFER_DNS_RESOLUTION=Yes
2011-05-28 21:38:12 +02:00
DISABLE_IPV6=No
DOCKER=No
2011-05-28 21:38:12 +02:00
DELETE_THEN_ADD=Yes
DETECT_DNAT_IPADDRS=No
2011-05-28 21:38:12 +02:00
DONT_LOAD=
2011-05-28 21:38:12 +02:00
DYNAMIC_BLACKLIST=Yes
2011-05-28 21:38:12 +02:00
EXPAND_POLICIES=Yes
2011-05-28 21:38:12 +02:00
EXPORTMODULES=Yes
2011-05-28 21:38:12 +02:00
FASTACCEPT=No
2011-05-28 21:38:12 +02:00
FORWARD_CLEAR_MARK=
HELPERS=
2011-05-28 21:38:12 +02:00
IMPLICIT_CONTINUE=No
INLINE_MATCHES=Yes
IPSET_WARNINGS=Yes
2011-05-28 21:38:12 +02:00
IP_FORWARDING=Off
2011-05-28 21:38:12 +02:00
KEEP_RT_TABLES=No
2011-05-28 21:38:12 +02:00
LOAD_HELPERS_ONLY=Yes
2011-05-28 21:38:12 +02:00
MACLIST_TABLE=filter
2011-05-28 21:38:12 +02:00
MACLIST_TTL=
2011-05-28 21:38:12 +02:00
MANGLE_ENABLED=Yes
2011-05-28 21:38:12 +02:00
MAPOLDACTIONS=No
MINIUPNPD=No
2011-05-28 21:38:12 +02:00
MARK_IN_FORWARD_CHAIN=No
MODULE_SUFFIX="ko ko.xz"
MULTICAST=No
2011-05-28 21:38:12 +02:00
MUTEX_TIMEOUT=60
2009-05-21 01:29:23 +02:00
2011-05-28 21:38:12 +02:00
NULL_ROUTE_RFC1918=No
2009-05-21 01:29:23 +02:00
OPTIMIZE=All
2011-05-28 21:38:12 +02:00
OPTIMIZE_ACCOUNTING=No
REJECT_ACTION=
2011-05-28 21:38:12 +02:00
REQUIRE_INTERFACE=No
2009-10-20 22:24:17 +02:00
RESTART=restart
2011-05-28 21:38:12 +02:00
RESTORE_DEFAULT_ROUTE=Yes
2009-11-10 23:12:55 +01:00
RESTORE_ROUTEMARKS=Yes
2011-05-28 21:38:12 +02:00
RETAIN_ALIASES=No
2011-05-28 21:38:12 +02:00
ROUTE_FILTER=No
SAVE_ARPTABLES=No
2011-05-28 21:38:12 +02:00
SAVE_IPSETS=No
2011-05-28 21:38:12 +02:00
TC_ENABLED=Internal
2011-05-28 21:38:12 +02:00
TC_EXPERT=No
2011-05-28 21:38:12 +02:00
TC_PRIOMAP="2 3 3 3 2 3 1 1 2 2 2 2 2 2 2 2"
2010-07-05 00:58:37 +02:00
2011-05-28 21:38:12 +02:00
TRACK_PROVIDERS=Yes
TRACK_RULES=No
USE_DEFAULT_RT=Yes
2011-01-22 17:13:17 +01:00
USE_PHYSICAL_NAMES=No
USE_RT_NAMES=No
WARNOLDCAPVERSION=Yes
WORKAROUNDS=No
ZONE2ZONE=-
2011-05-23 02:42:50 +02:00
###############################################################################
# P A C K E T D I S P O S I T I O N
###############################################################################
BLACKLIST_DISPOSITION=DROP
INVALID_DISPOSITION=CONTINUE
MACLIST_DISPOSITION=REJECT
RELATED_DISPOSITION=ACCEPT
RPFILTER_DISPOSITION=DROP
2011-05-23 02:42:50 +02:00
SMURF_DISPOSITION=DROP
2011-05-28 21:38:12 +02:00
SFILTER_DISPOSITION=DROP
TCP_FLAGS_DISPOSITION=DROP
UNTRACKED_DISPOSITION=CONTINUE
################################################################################
# P A C K E T M A R K L A Y O U T
################################################################################
TC_BITS=
PROVIDER_BITS=
PROVIDER_OFFSET=
MASK_BITS=
ZONE_BITS=0
#LAST LINE -- DO NOT REMOVE