2009-04-17 20:30:30 +02:00
|
|
|
#
|
2007-07-03 22:32:01 +02:00
|
|
|
# Shorewall version 4.0 - 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"
|
2012-12-08 01:48:55 +01:00
|
|
|
#################################################################################################################################################################################################
|
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS SWITCH HELPER
|
2005-09-21 18:19:38 +02:00
|
|
|
# PORT PORT(S) DEST LIMIT GROUP
|
2011-08-16 00:32:24 +02:00
|
|
|
#SECTION ALL
|
|
|
|
#SECTION ESTABLISHED
|
|
|
|
#SECTION RELATED
|
|
|
|
SECTION NEW
|
2005-08-22 05:10:35 +02:00
|
|
|
|
2012-06-28 00:16:16 +02:00
|
|
|
# Drop packets in the INVALID state
|
|
|
|
|
|
|
|
Invalid(DROP) net $FW tcp
|
|
|
|
|
2008-05-17 02:15:26 +02:00
|
|
|
# Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
|
2005-08-22 05:10:35 +02:00
|
|
|
|
2009-08-07 16:25:57 +02:00
|
|
|
Ping(DROP) 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
|