From owner-freebsd-pf@FreeBSD.ORG Thu Dec 30 14:23:08 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 080C116A4CE for ; Thu, 30 Dec 2004 14:23:08 +0000 (GMT) Received: from iscan1.intra.oki.co.jp (okigate.oki.co.jp [202.226.91.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06B7643D3F for ; Thu, 30 Dec 2004 14:23:07 +0000 (GMT) (envelope-from yamamoto436@oki.com) Received: from aoi.bmc.oki.co.jp (localhost.localdomain [127.0.0.1]) by iscan1.intra.oki.co.jp (8.9.3/8.9.3) with SMTP id XAA11386 for ; Thu, 30 Dec 2004 23:23:05 +0900 Received: (qmail 19297 invoked from network); 30 Dec 2004 23:23:05 +0900 Received: from tulip.bmc.oki.co.jp (172.19.234.100) by aoi.bmc.oki.co.jp with SMTP; 30 Dec 2004 23:23:05 +0900 Received: from localhost (tulip [172.19.234.100]) by tulip.bmc.oki.co.jp (8.13.1/8.12.11) with ESMTP id iBUEN5SC002382 for ; Thu, 30 Dec 2004 23:23:05 +0900 (JST) (envelope-from yamamoto436@oki.com) Date: Thu, 30 Dec 2004 23:23:05 +0900 (JST) Message-Id: <20041230.232305.71087886.yamamoto436@oki.com> To: freebsd-pf@freebsd.org From: Hideki Yamamoto X-Mailer: Mew version 3.3 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: pf NAT function with IPv6 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 14:23:08 -0000 Hi, I tried to use pf to change source address of IPv6 UDP packet, but it does not go well. As the output of 'pfctl' command seems no problem. I wonder if pf on FreeBSD does not support IPv6 now. ---------- /etc/pf.conf ------------- start ext_if="bge2" int_if="bge0" internal_net="fec0:0:0:d::0/32" nat on bge2 inet6 from fec0:0:0:d::1 to any -> 2001:b90:ee00:ff0b::1:3 ---------- /etc/pf.conf ------------- end tsrmldgw3# pfctl -s state No ALTQ support in kernel ALTQ related functions disabled self udp fec0:0:0:d::1[15001] -> 2001:b90:ee00:ff0b::1:3[52925] -> 2001:b90:ee00:51b:208:4ff:fe28:a1d2[8001] SINGLE:NO_TRAFFIC ----- Regards, Hideki Yamamoto --