2003-02-05 22:35:35 +01:00
|
|
|
#
|
2006-11-03 23:52:32 +01:00
|
|
|
# Shorewall version 3.4 - Sample Rules File for one-interface configuration.
|
2006-03-17 03:07:39 +01:00
|
|
|
# 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.
|
2007-02-23 19:51:55 +01:00
|
|
|
#------------------------------------------------------------------------------------------------------------
|
|
|
|
# For information on entries in this file, type "man shorewall-rules"
|
2006-03-17 03:07:39 +01:00
|
|
|
#
|
2006-11-06 19:48:50 +01:00
|
|
|
# For more information, see http://www.shorewall.net/Documentation.htm#Zones
|
2005-08-22 05:10:35 +02:00
|
|
|
#
|
|
|
|
#############################################################################################################
|
2005-09-21 18:19:38 +02:00
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
|
|
|
|
# PORT PORT(S) DEST LIMIT GROUP
|
2005-08-22 05:10:35 +02:00
|
|
|
|
|
|
|
# Reject Ping from the "bad" net zone.. and prevent your log from being flooded..
|
|
|
|
|
2005-09-21 18:19:38 +02:00
|
|
|
Ping/REJECT net $FW
|
2005-08-22 05:10:35 +02:00
|
|
|
|
|
|
|
# Permit all ICMP traffic FROM the firewall TO the net zone
|
|
|
|
|
2005-09-21 18:19:38 +02:00
|
|
|
ACCEPT $FW net icmp
|
2005-08-22 05:10:35 +02:00
|
|
|
|
2003-02-05 22:35:35 +01:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|