2004-03-15 19:47:21 +01:00
|
|
|
#
|
2005-02-02 22:07:23 +01:00
|
|
|
# Shorewall 2.2 -- RFC1918 File
|
2004-03-15 19:47:21 +01:00
|
|
|
#
|
|
|
|
# /etc/shorewall/rfc1918
|
|
|
|
#
|
|
|
|
# Lists the subnetworks that are blocked by the 'norfc1918' interface option.
|
|
|
|
#
|
2004-04-05 23:13:45 +02:00
|
|
|
# The default list includes those IP addresses listed in RFC 1918.
|
|
|
|
#
|
|
|
|
# DO NOT MODIFY THIS FILE. IF YOU NEED TO MAKE CHANGES, COPY THE FILE
|
|
|
|
# TO /etc/shorewall AND MODIFY THE COPY.
|
2004-03-15 19:47:21 +01:00
|
|
|
#
|
|
|
|
# Columns are:
|
|
|
|
#
|
2005-02-02 22:07:23 +01:00
|
|
|
# SUBNETS A comma-separated list of subnet addresses
|
|
|
|
# (host addresses also allowed as are IP
|
|
|
|
# address ranges provided that your kernel and iptables
|
|
|
|
# have iprange match support).
|
2004-03-15 19:47:21 +01:00
|
|
|
# TARGET Where to send packets to/from this subnet
|
|
|
|
# RETURN - let the packet be processed normally
|
|
|
|
# DROP - silently drop the packet
|
|
|
|
# logdrop - log then drop
|
|
|
|
#
|
2005-03-11 17:37:29 +01:00
|
|
|
# By default, the RETURN target causes 'norfc1918' processing to cease for a
|
|
|
|
# packet if the packet's source IP address matches the rule. Thus, if you have:
|
2005-03-11 00:53:50 +01:00
|
|
|
#
|
|
|
|
# SUBNETS TARGET
|
|
|
|
# 192.168.1.0/24 RETURN
|
|
|
|
#
|
|
|
|
# then traffic from 192.168.1.4 to 10.0.3.9 will be accepted even though you
|
|
|
|
# also have:
|
|
|
|
#
|
|
|
|
# SUBNETS TARGET
|
|
|
|
# 10.0.0.0/8 logdrop
|
|
|
|
#
|
|
|
|
# Setting RFC1918_STRICT=Yes in shorewall.conf will cause such traffic to be
|
|
|
|
# logged and dropped since while the packet's source matches the RETURN rule,
|
|
|
|
# the packet's destination matches the 'logdrop' rule.
|
|
|
|
#
|
|
|
|
################################################################################
|
2005-02-02 22:07:23 +01:00
|
|
|
#SUBNETS TARGET
|
2004-03-15 19:47:21 +01:00
|
|
|
172.16.0.0/12 logdrop # RFC 1918
|
|
|
|
192.168.0.0/16 logdrop # RFC 1918
|
2004-04-05 23:13:45 +02:00
|
|
|
10.0.0.0/8 logdrop # RFC 1918
|
2004-03-15 19:47:21 +01:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|