Module Name: src
Committed By: spz
Date: Tue Aug 21 08:25:21 UTC 2012
Modified Files:
src/share/examples/npf: soho_gw-npf.conf
Log Message:
add id string, fix comments
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/examples/npf/soho_gw-npf.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/npf/soho_gw-npf.conf
diff -u src/share/examples/npf/soho_gw-npf.conf:1.1 src/share/examples/npf/soho_gw-npf.conf:1.2
--- src/share/examples/npf/soho_gw-npf.conf:1.1 Tue Aug 21 06:54:39 2012
+++ src/share/examples/npf/soho_gw-npf.conf Tue Aug 21 08:25:21 2012
@@ -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 }