2002-05-01 01:13:15 +02:00
|
|
|
#
|
2005-08-31 17:27:22 +02:00
|
|
|
# Shorewall version 3.0 - Zones File
|
2002-05-01 01:13:15 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# /etc/shorewall/zones
|
|
|
|
#
|
|
|
|
# This file determines your network zones.
|
|
|
|
#
|
|
|
|
# Columns are:
|
2002-05-01 01:13:15 +02:00
|
|
|
#
|
2005-07-26 01:08:09 +02:00
|
|
|
# ZONE Short name of the zone (5 Characters or less in length).
|
|
|
|
# The names "all" and "none" are reserved and may not be
|
|
|
|
# used as zone names.
|
|
|
|
#
|
2005-09-02 22:46:53 +02:00
|
|
|
# TYPE ipsec - Communication with all zone hosts is encrypted
|
|
|
|
# Your kernel and iptables must include policy
|
2005-07-26 01:08:09 +02:00
|
|
|
# match support.
|
2005-09-02 22:46:53 +02:00
|
|
|
# plain - Communication with some zone hosts may be encrypted.
|
2005-07-26 01:08:09 +02:00
|
|
|
# Encrypted hosts are designated using the 'ipsec'
|
2005-08-02 18:46:30 +02:00
|
|
|
# option in /etc/shorewall/hosts.
|
2005-09-02 22:46:53 +02:00
|
|
|
# firewall
|
|
|
|
# - Designates the firewall itself. You must have
|
|
|
|
# exactly one 'firewall' zone. No options are
|
|
|
|
# permitted with a 'firewall' zone.
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# OPTIONS, A comma-separated list of options as follows:
|
2005-07-26 01:08:09 +02:00
|
|
|
# IN OPTIONS,
|
|
|
|
# OUT OPTIONS reqid=<number> where <number> is specified
|
|
|
|
# using setkey(8) using the 'unique:<number>
|
|
|
|
# option for the SPD level.
|
|
|
|
#
|
|
|
|
# spi=<number> where <number> is the SPI of
|
|
|
|
# the SA used to encrypt/decrypt packets.
|
|
|
|
#
|
|
|
|
# proto=ah|esp|ipcomp
|
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# mss=<number> (sets the MSS field in TCP packets)
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
|
|
|
# mode=transport|tunnel
|
|
|
|
#
|
|
|
|
# tunnel-src=<address>[/<mask>] (only
|
|
|
|
# available with mode=tunnel)
|
|
|
|
#
|
|
|
|
# tunnel-dst=<address>[/<mask>] (only
|
|
|
|
# available with mode=tunnel)
|
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# strict Means that packets must match all rules.
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# next Separates rules; can only be used with
|
|
|
|
# strict..
|
2005-07-26 01:08:09 +02:00
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# mode=transport,reqid=44
|
|
|
|
#
|
|
|
|
# The options in the OPTIONS column are applied to both incoming
|
|
|
|
# and outgoing traffic. The IN OPTIONS are applied to incoming
|
2005-08-02 18:46:30 +02:00
|
|
|
# traffic (in addition to OPTIONS) and the OUT OPTIONS are
|
2005-07-26 01:08:09 +02:00
|
|
|
# applied to outgoing traffic.
|
|
|
|
#
|
|
|
|
# If you wish to leave a column empty but need to make an entry
|
|
|
|
# in a following column, use "-".
|
2002-05-01 01:13:15 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# THE ORDER OF THE ENTRIES IN THIS FILE IS IMPORTANT IF YOU HAVE NESTED OR
|
2003-07-26 18:44:38 +02:00
|
|
|
# OVERLAPPING ZONES DEFINED THROUGH /etc/shorewall/hosts.
|
|
|
|
#
|
|
|
|
# See http://www.shorewall.net/Documentation.htm#Nested
|
2005-08-02 18:46:30 +02:00
|
|
|
#------------------------------------------------------------------------------
|
2005-07-09 07:45:05 +02:00
|
|
|
# Example zones:
|
2003-07-26 18:44:38 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
# You have a three interface firewall with internet, local and DMZ
|
|
|
|
# interfaces.
|
2005-07-09 07:45:05 +02:00
|
|
|
#
|
2005-09-02 22:46:53 +02:00
|
|
|
# #ZONE TYPE OPTIONS IN OUT
|
|
|
|
# # OPTIONS OPTIONS
|
|
|
|
# fw firewall
|
2005-07-26 01:08:09 +02:00
|
|
|
# net
|
|
|
|
# loc
|
|
|
|
# dmz
|
2005-07-09 07:45:05 +02:00
|
|
|
#
|
2005-08-02 18:46:30 +02:00
|
|
|
###############################################################################
|
2005-09-02 22:46:53 +02:00
|
|
|
#ZONE TYPE OPTIONS IN OUT
|
|
|
|
# OPTIONS OPTIONS
|
|
|
|
fw firewall
|
2002-05-01 01:13:15 +02:00
|
|
|
#LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE
|