Setting up IPv6 access for a home network using Ubuntu Linux

Before starting this howto, I would suggest that you get IPv6 working by following the instructions here. If you’ve followed all the instructions in the previous post, you should now have a linux workstation that allows you to view IPv6 websites.

If you want to extend this ability and enable all the workstations on your network to have the same ability then feel free to follow the instructions provided.

First things first, you need to register with Freenet6 who will be your IPv6 tunnel provider, the registration page is here. Take a note of your password and username, you will need this later.

Now you will have to edit the gw6c config files.

Disable key checking, this can be done by editing the file /etc/default/gw6c.

And changing the last line to read.

Edit  the main gw6c config file and add your own details.

Change or add the following information.


Enable IPv6 passthrough.

Uncomment the line that says

Enable IPv6 forwarding on the fly, saves having to reboot your workstation

If your running ufw (Uncomplicated Firewall) under Ubuntu then this bit applies to you, if not then ignore.

Stop the firewall.

Enable IPv6 support under ufw

Change the following part to yes

Enable the default forward policy to Accept

Enable IPv6 Forwarding.

Restart the firewall.

Start gw6c at the command line, there seems to be a bug with the client and this is part of the workaround.

When you are prompted to add a key type yes, then restart the gw6c client.

References:
Registering for a Freenet6 account
About Freenet6 Tunnelbroker
GogoNET – Service Status
Launchpad – Ubuntu gw6c bug
Internode – IPv6 and Debian
Wikipedia – radvd
IPV6 Go6 Mini-HOWTO
Ubuntu Documentation – UFW Firewall

Leave a Reply