IPv6 Script for FreeBSD --- COPY FROM HERE --- # FreeBSD # Modify following values MYIPv4="98.97.96.95" # My IPv4 address XSIPv4="1.2.3.4" # PoP's IPv4 address MYIPv6="3ffe:80ee:1234::1" # Choose any IPv6 address from the range # you've got from XS26 TUNLIF="gif0" # interface used for the tunnel - if you already have any # tunnels, raise the number to the first unused value ifconfig $TUNLIF create tunnel $MYIPv4 $XSIPv4 up route add -inet6 default -interface $TUNLIF ifconfig lo0 inet6 $MYIPv6 prefixlen 128