12d462a1a5
- adapt for NetBSD 1.6 and later which needs an "ifconfig stf0 create" (also needed on FreeBSD). Patch contributed by Kimura Fuyuki <fuyuki@hadaly.org> in private mail.
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# 6to4.conf
|
|
#
|
|
|
|
$out_if="ppp0"; # Our outgoing (uplink) interface
|
|
$in_if=""; # Inside (ethernet) interface
|
|
|
|
$v6_net="1"; # 2002:x:x:v6_net::
|
|
$v6_innernet="2"; # 2002:x:x:v6_innernet::
|
|
$v6_prefixlen=16; # Change for more
|
|
$hostbits6=":1"; # should be determined via MAC of $in_if
|
|
|
|
###########################################################################
|
|
#
|
|
# Selection of 6to4 relay router. If "peer" is not set,
|
|
# "remoteadr4" and "remoteadr6" must be set!
|
|
#
|
|
|
|
# Some possible remote 6to4 routers; DNS lookups will be used
|
|
# to determine their IPv4 and IPv6 adresses (see below on how
|
|
# to avoid these lookups):
|
|
$peer="6to4.ipv6.fh-regensburg.de"; # Germany, Europe
|
|
#$peer="asterix.ipv6.bt.com"; # Great Britain, Europe
|
|
#$peer="6to4.kfu.com"; # USA, West coast
|
|
#$peer="6to4.ipv6.microsoft.com"; # USA, West coast
|
|
#$peer="ipv6-router.cisco.com"; # USA, West coast; register at http://www.cisco.com/ipv6/
|
|
#$peer="6to4-anycast"; # RFC 3068 magic value
|
|
|
|
|
|
# To prevent DNS lookups of peer, directly specify IPv4 and IPv6 address
|
|
# of 6to4 relay router:
|
|
|
|
# 6to4.ipv6.fh-regensburg.de - Germany, Europe:
|
|
#$remoteadr4="194.95.108.191";
|
|
#$remoteadr6="2002:c25f:6cbf:1::1";
|