Ядро:
options INET6 # IPv6 communications protocols
pseudo-device gif # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)Регистрация и получение IP (http://www.freenet6.net или http://www.tunnelbroker.net)
cd /usr/ports/net/freenet6/
# make install clean
# /usr/local/etc/rc.d/freenet6.sh startПодъем IPv6 вручную
ifconfig gif0 create
ifconfig gif0 tunnel your-local-ipv4 remote-ipv4-of-your-broker
ifconfig gif0 inet6 ipv6-given-by-the-broker ipv6-of-your-broker prefixlen 128
route -n add -inet6 default ipv6-of-your-broker/etc/rc.conf:
ipv6_enable="YES"
ipv6_defaultrouter="brokeripv6"
ipv6_gateway_enable="YES"
ipv6_network_interfaces="de0 gif0"
ipv6_ifconfig_gif0="brokeripv6 prefixlen 128"
ipv6_ifconfig_de0="youripv6::1 prefixlen 64"
ipv6_static_routes="global"
ipv6_route_global="2000:: -prefixlen 3 youripv6"
gif_interfaces="gif0"
gifconfig_gif0="youripv4 brokeripv4"Фаервол (Ipfilter):
/etc/ipf6.rules
pass in all
pass out all
ipf -6 -f /etc/ipf6.rulesURL: http://www.ezunix.org/modules.php?op=modload&name=Sections&f...
Обсуждается: http://www.opennet.me/tips/info/659.shtml
Спасибо, пригодилось, получилось =)