aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-06-17 16:29:02 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-06-17 16:29:02 +0000
commit9cd7b166624ec035887de30d5cd6e92dac1b6a5a (patch)
tree73cb1900a7c5e26fad1734f6f8d84aa7cbd6a176
parent6a8b9a06b39e5f88df504de37ad187d45ec10dc9 (diff)
downloadipacct-9cd7b166624ec035887de30d5cd6e92dac1b6a5a.tar.gz
ipacct-9cd7b166624ec035887de30d5cd6e92dac1b6a5a.tar.bz2
Changed to reflect the new syntax.
-rw-r--r--ipacct.conf.example12
1 files changed, 8 insertions, 4 deletions
diff --git a/ipacct.conf.example b/ipacct.conf.example
index 97fd0d5..9ba2d90 100644
--- a/ipacct.conf.example
+++ b/ipacct.conf.example
@@ -8,13 +8,17 @@ dumpfile "/var/log/stat/ipacct.dump"
net 192.168.0.0/24
host 192.168.10.1
+stream "net-0" is
+ from 213.130.0.1 as output
+ to 213.130.0.1 as input
+
stream "net-1" is
- from 192.168.10.0/25 to 192.168.10.0/24 except itself
- from 192.168.12.1 192.168.12.3 to 192.168.10.0/25
+ from 192.168.10.0/25 to 192.168.10.0/24 except from 192.168.10.1 as input
+ from 192.168.12.1 192.168.12.3 to 192.168.10.0/25 as output
stream "net-2" is
- from 192.168.10.1 to any
- from any to 192.168.13.1
+ from 192.168.10.1 to any as input
+ from any to 192.168.13.1 as output
stream "net-2" is 192.168.13.2

Return to:

Send suggestions and report system problems to the System administrator.