From f13fcfc711152fd3ae0e7f0af9f5c46d0d85a975 Mon Sep 17 00:00:00 2001 From: nakayama Date: Fri, 3 May 2024 20:48:58 +0000 Subject: [PATCH] Allow DHCPv6 so that dhcpcd(8) does not complain at boot when using ia_pd option. --- etc/defaults/npf.boot.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/defaults/npf.boot.conf b/etc/defaults/npf.boot.conf index 89cca30b4f1a..253a99613379 100644 --- a/etc/defaults/npf.boot.conf +++ b/etc/defaults/npf.boot.conf @@ -1,4 +1,4 @@ -# $NetBSD: npf.boot.conf,v 1.3 2020/08/09 23:43:58 gutteridge Exp $ +# $NetBSD: npf.boot.conf,v 1.4 2024/05/03 20:48:58 nakayama Exp $ # # /etc/defaults/npf.boot.conf -- # initial configuration for npf(7) @@ -28,6 +28,8 @@ pass stateful out proto icmp icmp-type echo all # Allow DHCP pass out family inet4 proto udp from any port bootpc to any port bootps pass in family inet4 proto udp from any port bootps to any port bootpc +pass out family inet6 proto udp from any port "dhcpv6-client" to any port "dhcpv6-server" +pass in family inet6 proto udp from any port "dhcpv6-server" to any port "dhcpv6-client" # Allow IPv6 router/neighbor solicitation and advertisement. pass out family inet6 proto ipv6-icmp icmp-type rtsol all