FortiGate IPv6 Native Tunnel using SixXS

Here, at Tech With a Hammer, found that as more and more services are providing support for IPv6, ISPs around the world are not jumping on board the IPv6 train. For many reasons, like the lack of proper IPv6 support in the firewalls provided to the end users, to internal infrastructure requiring numerous upgrades which will take years to roll out, services like HurricaneElectric and SixXS have come out providing free IPv6 tunnels to those that request it.

Investigating the two largest IPv6 tunnel brokers, it can be seen that both are using 6to4 tunnels, which is essentially encapsulating the IPv6 packets from the internal network in IPv4 packets and sending this payload through the series of tubes called the Internet to a relay which sends it out. HurricaneElectric will provide a tunnel with a 6to4 IPv6 address, so Proxy services and such will pick this up with some services online refusing access as it’s a 6to4 address. SixXS provides native IPv6 address for the tunnel, though signup is more of a process, as you have to make a case and both the admins of SixxS and of admin of the PoP (Point of Presence) have to accept your application.

We have decided to use SixXS for our tests using FortiGate as the PoP was closer and found we were still able to saturate our link using the closest PoP. Though, the script below can has been tested with HurricaneElectric as well, but requires some modifications.

At the time of this writing, the FortiOS is currently at 5.2.1, so we recommend that you update to at least this version of firmware.

The following script assumes that the FortiGate has been factory reset and then configured to run in Interface mode instead of Switch mode from the interfaces

Leave a Reply

Your email address will not be published. Required fields are marked *