I used to have an IPv6 tunnel on my old machine, but since I moved to a new desktop I didn't get around to setting it up again. That's gonna change today.
First of all, why would you want it? Well, here's a start, as well as the fact that it's geeky and lets you learn more about IPv6.
Start by going to SixXS and sign up for an account, it took about a day for mine to get approved.
After you received your account, you can login and request a tunnel. Make sure you request a PoP close to you, and you will most likely want to request an ayiya tunnel.
While waiting for approval, we can already prepare some software parts for our tunnel.
Go to the OpenVPN Downloads Page and download the OpenVPN 2.1 RC15 installer. This is needed for the tap901 in Vista, since that one is signed.
Run the installer and deselect everything except the "TAP Virtual Ethernet Adapter". Go ahead and install it, it'll create a new network adapter, which I renamed to IPv6 for clarity.
Go into the properties of this new adapter and navigate to the IPv4 settings. Manually assign an IP address which is in the same subnet as your main network. E.g.: My main LAN hands out IPs via DHCP in the range of 192.168.123.100-200, subnet 255.255.255.0, so I assigned 192.168.123.99 to this IPv6 adapter.
Download the Aiccu console client, rename it to aiccu-console.exe and save it somewhere.
Also download the Windows 2003 Resource Kit and install it.
At this point we have to wait for our tunnel request to be approved before we can continue.
Once we received a mail, it's time to configure the aiccu client. Start by creating a file called aiccu.conf in the WINDOWS directory, containing the following:
username-SIXXS password ipv6_interface IPv6 tunnel_id T verbose true daemonize true automatic true requiretls false
You can find your tunnel id on your SixXS Home Page.
Run the following commands as administrator to disable conflicting Vista IPv6 technologies:
netsh interface ipv6 6to4 set state state=disabled netsh interface ipv6 isatap set state state=disabled netsh interface ipv6 set teredo disable
Run the following command to speed up DNS requests, since Vista sometimes acts up when the IPv4 adapter doesn't have an IPv6 associated with it:
Cable is the name of my physical network adapter, you can copy the IPv6 listed, it doesn't really matter at this point.
netsh int ipv6 add address "Cable" 2002:81a8:102::
I also ran the following command to allow ICMP requests to come through over the tunnel, otherwise SixXS can not monitor it and will think it's inactive and it might get disabled.
netsh firewall set icmpsetting type=ALL mode=ENABLE
Run the following command to set your MTU to match the tunnel's MTU:
netsh int ipv6 set subinterface "IPv6" mtu=1280
At this point you can run aiccu-console.exe start as an administrator to test your tunnel.
This will provide a lot of output, and after a while you will see your network adapter listed as Identifying in Vista, after which it'll ask if this is a private or public network.
At this point you can open up a prompt and try to ping -6 ipv6.google.com to see if it all works. Normally everything should be fine.
You can now modify the aiccu.conf to state verbose false, since everything is alright now.
Now you can try surfing to Google IPv6 and [SixXS IPv6(http://www.ipv6.sixxs.net "SixXS IPv6") to check if that's working as well.
If all is fine, hit CTRL+C in the aiccu console to stop it. It's time to configure it as a service.
Navigate to the directory where you previously installed the Windows 2003 Resource Kit files and execute the following (mind the path):
instsrv.exe AICCU "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" sc description AICCU "Aiccu IPv6 Client"
Open up regedit, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AICCU and create a new Key called Parameters.
Create a new String Value called Application below this key and as a value enter the full path to the aiccu console with the start command, e.g.: C:\IPv6\aiccu-console.exe start
Close regedit, go back to the prompt and type NET START AICCU and you will notice the IPv6 tunnel being set up.
Congratulations, you now got an IPv6 tunnel up and running, which automatically starts everytime you boot.
After a while you will be able to see graphs on the SixXS home page about your connection.
If you have any problems, please leave a comment and I'll see what I can do, as well as update the post to include possible additional steps.
OpenVPN Download Page is broke, here's the new.
http://openvpn.net/index.php/open-source/downloads.html