Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Windows => Topic started by: maxcarpenter on June 09, 2011, 05:38:29 AM

Title: Please help setting up IPv6 Tunnel completly lost
Post by: maxcarpenter on June 09, 2011, 05:38:29 AM
Good Afternoon everyone,

This is all very new to me and I spent all day and night yesterday trying to get this to work both here at work and at home with not much luck. I will focus at home as thats primarily where I would like to get it working.

At home I have a Windows 7 x32 machine and a Windows 7 x64bit machine. I also have a Server 2003 R2 x32 which acts as my DNS Server and DHCP Server. It then forwards queries to OpenDNS if it cannot resolve them. For my router I have a Netgear with the DGTeam custom firmware which is acting as a NAT and forwards all traffic to my server at the moment unless there is a spercific port forwarding rule.. That is the extent of mysetup no complicated VPNS/Routing and Remote Access etc

Ultimatly I would like to get the tunnel setup on my server so all my computers on the network can use IPv6 but I am happy focusing on one machine for now.

So what I have done:

1: Setup a basic tunnel via tunnelbroker.net with my public IP address
2: run the following commands on my Win 7 x32

netsh interface teredo set state disabled
netsh interface ipv6 add v6v4tunnel IP6Tunnel 192.168.x.x 216.66.80.26
netsh interface ipv6 add address IP6Tunnel 2001:470:1f08:19dc::2
netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:1f08:19dc::1

where 192.168.x.x is the local ip address of my computer.

Then if I run Ipconfig /all I get all my standard IPv4 details for my Local Area Connection and an IP6Tunnel containing the information I have been provided with from TunnelBroker. From what I have read this is what is needed to start using IPv6 however I still cannot access any IPv6 websites and when I do any tests they say I am running IPv4. What am I missing?

I also tried adding a forwardin rule in my router for the port (41 is it?) to my computer.

I get exactly the same at work.
Title: Re: Please help setting up IPv6 Tunnel completly lost
Post by: cholzhauer on June 09, 2011, 05:40:37 AM
Keep in mind that port != protocol.  I have not seen any firewalls/routers that allow you to forward a certain protocol...normally you're stuck putting that host into the DMZ and letting it receive all traffic. 

It looks like you've done everything else correctly, so I'm assuming your problem is indeed the protocol 41 traffic.
Title: Re: Please help setting up IPv6 Tunnel completly lost
Post by: maxcarpenter on June 09, 2011, 08:17:07 AM
I can not get this working on Windows 7, However I have just run the same commands on my Windows Server 2003 which initially did not work because of me forwarding port 41 traffic to my computer, turned that rule of (so default dmz server is my windows server) and bang its working :-)

Now does anyone know what I need to do to get all my computers on the network using ipv6 via the tunnel on the server rather than creating a tunnel for each one?
Title: Re: Please help setting up IPv6 Tunnel completly lost
Post by: cholzhauer on June 09, 2011, 08:19:46 AM
Yep.

You need to use Router Advertisements to do this.  The following was used in Vista, but the steps should be really close for 2003 server.  You'll obviously need to substitute your IP addresses where needed.


Steps to configure host to act as IPv6 router

1.  In CMD type: netsh int ipv6 set interface IP6Tunnel forwarding=enabled
2.  Next, type: netsh int ipv6 set interface "Local Area Connection" forwarding=enabled advertise=enabled
3.  Next, add the first address of the routed IP address to the Local Area Connection
netsh int ipv6 add address "Local Area Connection" 2001:470:8:a0a::1
4.  Next, add the default route and next hop for the tunnel and Local Area Connection, then publish it:
netsh int ipv6 set route 2001:470:8:a0a::/64 "Local Area Connection" publish=yes
5.  Next, add the default route for the tunnel and publish it:
netsh interface ipv6 set route ::/0 IP6Tunnel 2001:470:7: