Today I decided to regain IPv6 connectivity.
Since I used a IPv6 tunnel from Hurricane Electric on my Mac through a VPN I never had to think about any other solution, but sadly Hurricane Electric disabled the beta of their VPN so I was not able to use their IPv6 tunnel anymore because my router doesn’t support protocol 41 (protocol 41 indicates IPv4 packets which encapsulate IPv6 datagrams).
What to do, what to do? Yeah! SixXS through AYIYA protocol (Anything In Anything)!
So, what does AYIYA actually do? It’s quiet simple, it’s tunneling the IPv6 packets over either UDP [RFC0768], TCP [RFC0793] or even SCTP [RFC2960]. It basically encapsulates IPv6 packages in UDP, TCP or SCTP packages in your normal IPv4 stream.
How do we achieve this? It sounds more complicated than it is. We Just need 4 Things to do:
- Register your account at SixXS
- Request a tunnel
- Download necessary software
- Setup your tunnel
Go to SixXS, register your account and wait for them to approve your request, it took around 1h to approve my request. You will receive emails for any status change.
After your account was approved go to SixXS and login. You now should see your User’s Home (if not click on Home on the top of the screen), in the menu on de left site go and click ‘Request tunnel’. You will have to choose the nearest PoP (Points of Presence) to your location, so don’t hesitate to use Google Maps, it’s important for the approval process. Again you will have to write a reason, just write the reason you gave them for your account request and tell them that you’ve chosen the PoP xyz because it’s most near to your location. Now it’s time to wait again, it took around 8h in my case.
So you got all you need, not it’s time to set everything up and get it working.
First you will have to install OpenVPN 2.1.4 like any other app. Go to your network settings and locate the recently added adapter “TAP-Win32 Adapter V9″ and rename it to SixXS.
After that put the downloaded AICCU client to any directory you want, I recommend to use C:\aiccu\. Now you will have to start your preferred editor to write the config file for AICCU, it’s important to start it with administrator privileges because you will have to save the config file to C:\Windows. Now here is my aiccu.conf:
# AICCU Configuration
# Login information
# The tunnel_id to use
#The "TAP-Win32 Adapter V9" name
# Be verbose?
# Automatic Login and Tunnel activation?
You have only to change username, password and tunnel_id to the ones provided to you. When you’re done just save the file as C:\Windows\aiccu.conf and close your editor. Now it’s not a bad idea to reboot your PC to let all changes made by OpenVPN take place. After the reboot you can just open a terminal (cmd), navigate to your AICCU directory and start it. You will notice that it needs administrator privileges so just grant it and a new cmd prompt will popup and show you everything what’s happening. Now you should have a working IPv6 connection! You can close the first cmd in which you started AICCU, but the cmd which was opened by AICCU needs to stay open, otherwise there will be no heartbeat to SixXS and your tunnel will close.
My next goal
After I got enough ISK from SixXS, is to get my own /48 subnet to route my whole LAN and serve IPv6 addresses to every connected client.