Posts Tagged ‘IPv6’

YouTube is over IPv6: how to access it from Linux

Saturday, February 6th, 2010

YouTubeWhere it stands for , because is still accessible from : the changes made by Google don’t affect users accesses to the platform — but reduced the amount of IPv4 addresses needed (because YouTube is actually one of the largest sites on the web).

Anyway, you should prepare to switch soon: IPv6 will definitively replace IPv4 in 2012. If you didn’t disable it via kernel and/or system configuration – somebody suggests to do so to increase internet speed – you could easily take addresses via .

The Freenet6 community changed its web site recently and joined the Ning platform: I’ll speak about OpenSocial integration for blogs in a second time.

The best way I found to get IPv6 connectivity is : you can choose to login with username and password – registering for a free account – or anonymously.

The next example shows how to do it without any registered account: the main difference is about credentials — if you don’t need routing.

You could find packages for almost any distribution: here’s what to do with .

$ sudo apt-get install gw6c
$ sudo apt-get remove --purge radvd

In old releases the gw6c package was called tspc and its configuration files had another path: radvd isn’t really useful for our purposes, so I suggest you to completely remove it.

You may configure the client as you like, but the next settings are taken directly from the official example:

$ sudo gedit /etc/gw6c/gw6c.conf

userid=
passwd=
server=anonymous.freenet6.net
auth_method=anonymous
host_type=host
prefixlen=64
if_prefix=eth0
dns_server=
gw6_dir=
auto_retry_connect=yes
retry_delay=30
retry_delay_max=300
keepalive=yes
keepalive_interval=30
tunnel_mode=v6udpv4
if_tunnel_v6v4=sit
if_tunnel_v6udpv4=tun
if_tunnel_v4v6=sit1
client_v4=auto
client_v6=auto
template=linux
proxy_client=no
broker_list=/var/lib/gw6c/tsp-broker-list.txt
last_server=/var/lib/gw6c/tsp-last-server.txt
always_use_same_server=no
log_stderr=0
log_filename=/var/log/gw6c/gw6c.log
log_rotation=yes
log_rotation_size=32
log_rotation_delete=yes
syslog_facility=USER

Warning: prefixlen must equals to 64 if you don’t have an account, otherwise it won’t work — host_type could be router just if you login, with a prefixlen of 48.

The if_prefix option is about your physical interface: it supports bridges too (change it accordingly). The tunnel_mode must be v6udpv4 if you’re behind a NAT. In this case you can’t make use of a proxy client.

I don’t suggest you to change if_tunnel_* options: you need at least to enable the tun interface in your kernel settings — if it’s not yet. Restart your network to finally get an IPv6 address.

$ sudo /etc/init.d/gw6c restart
$ sudo /etc/init.d/networking restart

If you want to configure previous Ubuntu releases, just edit the file /etc/tsp/tsp.conf instead. That’s it: you could test your effective address pinging web sites with ping6 from a shell or connecting to the Google’s IPv6 search engine.