From eab32589a95e58cbc03084701ea186d3b26c15ac Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 21 Jan 2006 16:01:56 +0000 Subject: [PATCH] Add accounting file to my config git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3343 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-docs2/myfiles.xml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Shorewall-docs2/myfiles.xml b/Shorewall-docs2/myfiles.xml index 7801b33ae..45b4a3d09 100644 --- a/Shorewall-docs2/myfiles.xml +++ b/Shorewall-docs2/myfiles.xml @@ -15,7 +15,7 @@ - 2006-01-04 + 2006-01-21 2001-2006 @@ -451,6 +451,32 @@ ACCEPT $MIRRORS +
+ Accounting File + +
+ #ACTION CHAIN SOURCE DESTINATION PROTO DEST SOURCE USER/ +# PORT(S) PORT(S) GROUP +hp:COUNT accounting $EXT_IF $INT_IF:192.168.1.6 UDP +hp:COUNT accounting $INT_IF:192.168.1.6 $EXT_IF UDP +DONE hp + +mail:COUNT - $EXT_IF $INT_IF:192.168.1.7 tcp 25 +mail:COUNT - $INT_IF:192.168.1.7 $EXT_IF tcp 25 +DONE mail + +web - $EXT_IF $INT_IF:192.168.1.7 tcp 80 +web - $EXT_IF $INT_IF:192.168.1.7 tcp 443 +web - $INT_IF:192.168.1.7 $EXT_IF tcp 80 +web - $INT_IF:192.168.1.7 $EXT_IF tcp 443 + +COUNT web $EXT_IF $INT_IF:192.168.1.7 +COUNT web $INT_IF:192.168.1.7 $EXT_IF +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE + +
+
+
Rules File (The shell variables are set in /etc/shorewall/params)