wlanboy
Content Contributer
There are a lot of good offers on the LEB market but some providers do not want to support IPv6. Some providers want to support it but their datacenter do not care.
This little tutorial is for customers wanting to play around with IPv6 even if their provider tells them "IPv6 will be available in two weeks".
This little tutorial is for customers wanting to play around with IPv6 even if their provider tells them "IPv6 will be available in two weeks".
- Open this page: http://www.tunnelbroker.net/
- Create an account
- Create Regular Tunnel: http://www.tunnelbroker.net/new_tunnel.php
- Type in the public ip of your vps (IPv4 Endpoint)
- Select one of the tunnel severs:
- Create tunnel
- Open the config tab:
- Copy&paste the text to /etc/network/intefaces
- Run following commands as root:
sysctl net.ipv6.conf.all.forwarding=1
nano /etc/sysctl.conf
uncomment line #net.ipv6.conf.all.forwarding=1
ifup he-ipv6
- Test your IPv6 connection:
Code:ping6 ipv6.google.com
- If you want you can add an additional /48 block too:
- Use this tunnel in FreeBSD
They are providing the setup for FreeBSD but only the shell commands - no rc.conf.
So let's take a look at the commands:
Code:ifconfig gif0 create ifconfig gif0 tunnel ipOfYourVPS ipOfTunnelBroker ifconfig gif0 inet6 ipv6OfYourVPS ipv6OfTheTunnelBroker prefixlen 128 route -n add -inet6 default ipv6OfTheTunnelBroker ifconfig gif0 up
Code:ipv6_enable="YES" gif_interfaces="gif0" gifconfig_gif0="ipOfYourVPS ipOfTunnelBroker" ipv6_ifconfig_gif0="ipv6OfYourVPS ipv6OfTheTunnelBroker prefixlen 128" ipv6_defaultrouter="ipv6OfTheTunnelBroker" ipv6_gateway_enable="YES" ipv6_ifconfig_gif0_alias0="2001:**:*:*::22 prefixlen 64" ipv6_ifconfig_gif0_alias1="2001:**:*:*::33 prefixlen 64"
Last edited by a moderator: