4 ms·
There's still free IPv6 tunnel brokers, and pg can probably afford an extra $4 a month. The fact is that no website will enable IPv6 unless they have spare time
by peterwwillis 14y ago
There's still free IPv6 tunnel brokers, and pg can probably afford an extra $4 a month. The fact is that no website will enable IPv6 unless they have spare time and want a mini-project.
It is of course much, much preferred to have a native address. But if you're lazy you can enable IPv6 using 6to4 encapsulation and hope for the best:
modprobe ipv6
MYV4=`ip addr show dev eth0 | grep 'inet ' | awk '{print $2}' | cut -d / -f 1`
MYV6=`printf "2002:%.2x%.2x:%.2x%.2x::1\n" $(echo $MYV4 | tr . ' ')`
ip tunnel add 6to4-ipv6 mode sit remote any local $MYV4 ttl 255
ip link set 6to4-ipv6 up
ip -6 addr add $MYV6/16 dev 6to4-ipv6
ip -6 route add 2000::/3 via ::192.88.99.1 dev 6to4-ipv6 metric 1
echo 'nameserver 2001:470:20::2' >> /etc/resolv.conf
echo "@ IN AAAA $MYV6" >> /your/zone/file.conf
echo "ns1 IN AAAA $MYV6" >> /your/zone/file.conf
echo "www IN AAAA $MYV6" >> /your/zone/file.conf
iptables -A INPUT -i eth0 -p ipv6 -j ACCEPT
- stephen_g 14y agoYou do get one free v6 address, if I'm reading their product page correctly. It doesn't really need to be a mini-project in your spare time - on some hosts I use, setting up native IPv6 took a few clicks and less than five minutes... I added IPv6 to an AWS machine using http://tunnelbroker.net http://tunnelbroker.net - setting it up in Debian literally took five minutes and then adding an AAAA record took another two or three...
- peterwwillis 14y agoIt takes more time than that if you've never done it before. You have to set up DNS, set up the host's networking and firewall, configure and restart your network service, test the service (all this assuming you don't need a tunnel broker). I don't think it's difficult to do at all, but the onus on the admin to figure it out (and the fact that IPv4 works just fine) means nobody ends up doing it.