mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 18:21:27 +02:00
Add accounting file to my config
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3343 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f5e6030f24
commit
eab32589a9
@ -15,7 +15,7 @@
|
|||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>2006-01-04</pubdate>
|
<pubdate>2006-01-21</pubdate>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2001-2006</year>
|
<year>2001-2006</year>
|
||||||
@ -451,6 +451,32 @@ ACCEPT $MIRRORS
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<title>Accounting File</title>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<programlisting>#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
|
||||||
|
</programlisting>
|
||||||
|
</blockquote>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title>Rules File (The shell variables are set in
|
<title>Rules File (The shell variables are set in
|
||||||
/etc/shorewall/params)</title>
|
/etc/shorewall/params)</title>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user