Howto Configure IPv6 Tunnel in Ubuntu

Sponsored Link
If you want to setup IPv6 tunnel under Ubuntu you need to use tspc (tunnel setup protocol client) so you can browse IPv6 ready websites using IPv4.

Connecting to the IPv6 Internet requires either a native connection or the cooperation of a friendly server to provide you with a tunnel.Tunnel Server Protocol Client (tspc), is a daemon to automate the setup and maintenance of an IPv6 tunnel. This client will connect to any migration broker which uses Hexago's implementation.

Install tspc in ubuntu

sudo aptitude install tspc

This will complete the installation.

You can get free IPv6 access form freenet6 register freenet6 account from here to obtain username and password.

Configure tspc

The default configuration file is located at /etc/tsp/tspc.conf. Open file using a text editor using the following command

sudo gedit /etc/tsp/tspc.conf

You need to provide username, password and hostname registered at Freenet6

userid -- Yourid
passwd -- yourPassWord
server -- broker.freenet6.net

Search, userid, server, and passwd variable in file and set them as follows

userid=your-name
server=broker.freenet6.net
passwd=your-password

Save and close the file. Restart tspc service using the following command

sudo /etc/init.d/tspc restart

Testing your IPv6 Connections

Use the following command to see your tunnel IPv6 address

ifconfig tun

Test IPv6 connectivity using the following command

ping6 ipv6.google.com

ping6 www.kame.net

View Google.com IPv6 Address using the following command

host ipv6.google.com

You can use the following commands to start and stop tunnel

sudo /etc/init.d/tspc stop

sudo /etc/init.d/tspc start

Sponsored Link

Related posts

You may also like...

7 Responses

  1. paul says:

    Hi
    Thanks for this guide.
    However, I had some problems implementing it on Ubuntu Hardy on my MacBook as when I completed the installation/config as you describe (and I installed the Gateway6 5.1 Source Code (Linux/Unix/Darwin/BSD) as is recommended in the email I received after registering with go6. Note that this is not straightforward as the .tar.exe file needs to be renamed to tar.gz before compiling).
    In any event, after I had followed all of the steps and tried
    ifconfig tun
    I get this error
    tun: error fetching interface information: Device not found

    Any suggestions what’s up with this?
    Thanks
    Paul

  2. Manankanchu says:

    … same problem, same error message on Hardy as Paul mentioned

    Rgds

  3. Russell says:

    Worked a treat – thanks.

  4. Ronney says:

    Works fine for me. But if i want to use the IPv6 for Sabnzbd I must everytime put “sudo tspc” in the terminal to activate it. I want to automate it, but I don’t know how.

  5. Alterax says:

    In regards to Manankanchu and Paul’s issue, the problem is that the tap/tun module isn’t running. To start it, just run the following:

    sudo modprobe -i tun

    To have it load it every time the computer starts up, run this command:

    sudo echo “tun” >> /etc/modules

    Note: If you decide not to use IPv6, it’s not necessary to remove the tun/tap module.

  6. April says:

    Not able to find this with apt-get or aptitude but did find some other config options.

    Is this outdated?

  7. Glen Stewart says:

    Instead of tspc (now deprecated), see “gogoc”

Leave a Reply

Your email address will not be published.