Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 23:23:05 +0900 (JST)
From:      Hideki Yamamoto <yamamoto436@oki.com>
To:        freebsd-pf@freebsd.org
Subject:   pf NAT function with IPv6
Message-ID:  <20041230.232305.71087886.yamamoto436@oki.com>

next in thread | raw e-mail | index | archive | help

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
--


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041230.232305.71087886.yamamoto436>