Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/examples/npf use proper address, ok spz@.
details: https://anonhg.NetBSD.org/src/rev/7ab1391bc2a1
branches: trunk
changeset: 331183:7ab1391bc2a1
user: szptvlfn <szptvlfn%NetBSD.org@localhost>
date: Mon Aug 04 22:13:23 2014 +0000
description:
use proper address, ok spz@.
diffstat:
share/examples/npf/host-npf.conf | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e43bb172d3c9 -r 7ab1391bc2a1 share/examples/npf/host-npf.conf
--- a/share/examples/npf/host-npf.conf Mon Aug 04 21:56:30 2014 +0000
+++ b/share/examples/npf/host-npf.conf Mon Aug 04 22:13:23 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: host-npf.conf,v 1.7 2014/05/31 11:54:37 spz Exp $
+# $NetBSD: host-npf.conf,v 1.8 2014/08/04 22:13:23 szptvlfn Exp $
#
# this is an example of NPF rules for a host (i.e., not routing) with
# two network interfaces, wired and wifi
@@ -65,7 +65,7 @@
pass stateful in final family inet6 proto udp to $wired_v6 \
port $services_udp
- pass stateful in final family inet4 proto udp to $wired_v6 \
+ pass stateful in final family inet4 proto udp to $wired_v4 \
port $services_udp
# only SYN packets need to generate state
@@ -93,7 +93,7 @@
pass out final family inet6 proto ipv6-icmp from ff00::/10
pass in final family inet6 proto ipv6-icmp to $wifi_v6
- pass in final family inet4 proto icmp to $wifi_v6
+ pass in final family inet4 proto icmp to $wifi_v4
pass in final family inet4 proto tcp \
from any port bootps to $wifi_v4 port bootpc
Home |
Main Index |
Thread Index |
Old Index