Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/examples/npf add id string, fix comments



details:   https://anonhg.NetBSD.org/src/rev/5e965bf0d022
branches:  trunk
changeset: 781130:5e965bf0d022
user:      spz <spz%NetBSD.org@localhost>
date:      Tue Aug 21 08:25:21 2012 +0000

description:
add id string, fix comments

diffstat:

 share/examples/npf/soho_gw-npf.conf |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r db780dcfe1a5 -r 5e965bf0d022 share/examples/npf/soho_gw-npf.conf
--- a/share/examples/npf/soho_gw-npf.conf       Tue Aug 21 06:54:39 2012 +0000
+++ b/share/examples/npf/soho_gw-npf.conf       Tue Aug 21 08:25:21 2012 +0000
@@ -1,14 +1,16 @@
-# $NetBSD: soho_gw-npf.conf,v 1.1 2012/08/21 06:54:39 spz Exp $
+# $NetBSD: soho_gw-npf.conf,v 1.2 2012/08/21 08:25:21 spz Exp $
 #
 # SOHO border
 #
 # This is a natting border gateway/webserver/mailserver/nameserver
+# IPv4 only
 #
 $ext_if = "wm0"
 $int_if = "wm1"
 
-table <1> type hash file "/etc/npf_blacklist"
-# for NAT
+# a table to house e.g. block candidates in
+table <1> type hash file "/usr/share/examples/npf/hashtablefile"
+# feed this using "npfctl table 2 add 198.51.100.16/29" f.e.
 table <2> type tree dynamic
 
 $services_tcp = { http, https, smtp, domain, 6000, 9022 }



Home | Main Index | Thread Index | Old Index