Configuring Teredo In Windows – ITfreetraining (2024)

This video will look at how to configure Teredo on Windows. If your Windows computer does not have a native IPv6 connection, Teredo can be configured, which will allow Windows to access the IPv6 network using its IPv4 connection.

Network Setup
00:16 Depending on the environment you are using, the way you configure Teredo may change. This is because Teredo works differently if it is configured on a computer that is in a domain and a computer that is standalone. In this video, a domain computer that is on a home network will be configured. This will demonstrate all the problems that you may encounter configuring Teredo on your network. In this example, the home network will only have IPv4 support and thus a transition protocol will be required in order to access the IPv6 internet.

Demonstration
00:58 Teredo has been available in Windows since Windows XP. The procedure for enabling it or disabling is the same regardless of which version of windows you are using. On the client version of Windows after Windows Vista it is enabled by default. Before Windows Vista, Teredo was disabled and had to be enabled. Currently, in Windows 10 it is enabled by default, however, as the internet becomes more IPv6 ready, in future versions of windows it may be disabled by default. In the case of Windows Server, Teredo is disabled by default.

01:16 To view the current network configuration, right click on the start menu and select the option “Network Connections”.

01:27 To see the network connection of a network adapter, right click the adapter and select Properties. In this example there is only one network adapter which is Network 2.

01:35 Scrolling through the protocol list, “Internet Protocol Version 6 (TCP/IPv6)” is ticked. In order for Teredo to work, IPv6 needs to be ticked and thus enabled. Also “Internet Protocol Version 4 (TCP/IPV4)” needs to be ticked. Other protocols like ISATAP do not require the IPv6 protocol, however as we will see later in the video, Teredo requires the IPv6 protocol in order to operate.

01:51 To see the properties of IPv6, make sure the “Internet Protocol Version 6 (TCP/IPv6)” is ticked and press the Properties button.

01:55 By default, IPv6 will be configured to “Obtain an IPv6 address automatically” and “Obtain DNS server address automatically”. If IPv6 becomes available, the administrator may decide to configure a static IPv6 address. If this is to occur, Teredo will automatically be disabled. The same will occur if the computer obtains an IPv6 address via DHCP or through Stateless Auto Configuration. Essentially Teredo is designed to be used when no IPv6 network is available, thus if the device is configured with a valid IPv6 address then Teredo is disabled as it is no longer required.

02:27 To configure Teredo, right click the start menu and select “Command Prompt”. If there are any open windows from the previous step, close these windows before opening the command prompt.

02:45 In the output of IPConfig, most likely at the bottom, is a section called “Tunnel adapter Teredo Tunneling Pseudo-Interface”. This section contains the configuration for Teredo. This will show the current IP Address being used by Teredo, Link-local address and gateway. If Teredo has not been configured “Media State” will be shown as “Media Disconnected”. If the computer is configured with an IPv6 address, Teredo will automatically be disabled and thus may not appear.

03:08 In Windows 10, Teredo is enabled by default and an IPv6 address will be shown. This IPv6 address contains the Teredo server IPv4 address, Teredo Client IPv4 address and other Teredo configuration options. Later in the video the Teredo address will be looked at in more detail.

03:25 To test the Teredo connection, run the command “Ping -6 google.com” or another address of your choosing. In this case, Teredo is enabled, however, the command returns “Destination host unreachable”. Teredo is configured by default, however, the default configuration points to a Microsoft Teredo server that is no longer in use.

03:45 To configure a new Teredo server or change to another Teredo configuration, run the command “NetSH”. NetSH or Network Shell is a command line utility that allows configuration of local or remote Windows computers Once NetSH is running, the command line will change to “netsh”.

04:00 From the netsh prompt, run the command “Interface Teredo”. Once the command has run, the command prompt will change to “netsh Interface Teredo>”. Future commands run under this prompt will affect the Teredo interface only.

04:14 To show the current configuration of Teredo, run the command “Show State”.

04:19 In the state output for the Teredo client is a parameter called Type. If Teredo is enabled this will be shown as “client”. If Teredo is disabled it will be shown as “disabled”.

04:25 To disable Teredo, run the command “Set State Disabled”. Once this command is run, if “Show State” is run again the type will have changed to “disabled”.

04:46 By default, Windows may be configured to use the server “win10.ipv6.microsoft.com”. This server has been shut down by Microsoft and must be changed to a working server before Teredo will work. To check which server Teredo is currently configured to be used, run the command “Show State”. Microsoft shut down the Teredo server as they originally deployed it to prompt the use of the IPv6 protocol. With estimates as high as 20% usage of the IPv6 protocol, this have been achieved.

05:32 To enable Teredo, run the command “Set State Client”. On some versions of Windows, Teredo will be disabled by default and this command will need to be run.

05:35 To enable Teredo and configure a server, run the command “Set State Client” followed by a Teredo server. In this example the command run was “Set State Client teredo.trex.fi”. In order to find a working Teredo server, you may need to perform a Google search. Your ISP may also have a Teredo server running that you can use. This command can also be used to configure ports and other flags that Teredo will use.

05:50 To exit out of NetSH, run the command “Quit”.

05:56 To test Teredo, run the command “Ping -6 Google.com”. If Teredo does not work, try disabling and enabling the network adapter or restarting the computer.

06:18 To disable and enable the network card, right click on the start menu and select the option “Network Connections”. Once network connections is open, right click on the network connection and select the option “Disable”. This will disable the network connection. Once disabled, right click on the network adapter again and select the option “Enable”. This will enable the network connection and force Teredo to restart.

06:38 To test Teredo, run “Ping -6 google.com” from the command prompt. A response from Google should be received. If not, restart the computer and try again.

06:50 To have a look at the Teredo configuration, run the command IPConfig.

Teredo Address
07:05 A Teredo address contains a lot of information. This information is used to assist routing the Teredo traffic. In this case the Teredo address will be divided into five parts as follows:

Prefix: The first 32 bits of Teredo addresses always start with 2001:0000. When traveling over an IPv6 network, this allows IPv6 to determine that it is a Teredo address.

Teredo IPv4 server: The second part of the Teredo address is the IPv4 Teredo server that is being used. This is 32bits long which is the same length as an IPv4 address. The address is obfuscated which in this case means 1 bits are changed to 0 bits and 0 bits are changed to 1 bits. This makes it hard for humans to read the 32bits, however, computers do not have any problems. The Teredo server that was set earlier using NetSH is the address that will be seen here. In this example, c38c:c38C when the bits are inverted gives 3c73:3c73. Each pair of hexadecimal values is converted into decimal. So 3c becomes 60. 73 becomes 115. In this case the address repeats itself so the next 3c becomes 60 and the last 73 becomes 115 giving an IP Address 60.155.60.115.

Flags: These are flags used by Teredo. For example, one of the flags is if NAT is being used or not. The administrator generally does not need to worry about these options as the operating system will configure them.

UDP Port: The UDP port is the external port used by the NAT device to access the internet. By having the port inside the address, this is what allows the traffic to be delivered back to the original device. A NAT device allows multiple devices to share the same IP Address. By knowing the port that was used, this allows Teredo to be used by many devices behind NAT. This is what makes Teredo different from other IPv6 transition technologies. In this case, the UDP port is 24b8. The port is obfuscated and needs to be inverted giving the hexadecimal value DB47. If the value is changed to decimal this would be 56,135. Thus the UDP port is 56,135.

Client Public IPv4: This is the IPv4 address used to access the internet. If a NAT device is being used, the IPv4 address will be the public IPv4 address of the NAT device. In this example, the address is 276f:134d. The address needs to be inverted which gives d890:ecb2. Converting each part to decimals gives the following: D8 = 216, 90 = 144, ec = 236 and b2 = 178. This results in an IP Address of 216.144.236.178.

Demonstration Group Policy
08:30 To modify local Group Policy, you need to run GPEdit.msc. This can be run from the command prompt or from the start menu.

08:38 Once Group Policy editor has opened, expand down to “Computer Configuration\Administrative Templates\Network\TCPIP Settings\IPv6 Transition Technologies”.

08:52 There are five Group Policy settings that can be configured. These are as follows:
Set Teredo Client Port: By default, Teredo will choose a random port. The administrator is able to configure only one port. If this option is used and the port is already in use by another device, Teredo will fail to initialize.

Set Teredo Default Qualified: By default, the Teredo client will enter a dormant state when not in use. This Group Policy setting allows this to be changed so that the Teredo client is always active and ready to go.

Set Teredo Refresh Rate: This configures how often an IPv6 solicitation message is sent from the Teredo client to the Teredo server. By default, this will be every 30 seconds.

Set Teredo Server Name: This is the Teredo server that will be used.

Set Teredo State: The Teredo State once enabled can be configured to four different options. 1) “Default State” will configure Teredo State to the default for Windows. For example, for Windows 10 and Vista it will be enabled but for Windows XP it will be disabled. 2) “Disabled State” will disable Teredo so it cannot be used. 3) “Client” will enable Teredo, however, if the computer is in a domain and a domain controller is contactable, the Teredo client will not work. 4) “Enterprise Client”. If this option is selected, if the computer is in a domain and a domain controller is contactable, Teredo will still be used.

References
“Teredo Components” https://msdn.microsoft.com/en-us/library/windows/desktop/bb968770(v=vs.85).aspx

Credits
Trainer: Austin Mason http://ITFreeTraining.com
Voice Talent: HP Lewis http://hplewis.com
Companion Document: Phillip Guld https://philguld.com
Video Production: Kevin Luttman http://www.KevinLuttman.com
Quality Assurance: Brett Batson http://www.pbb-proofreading.uk

Configuring Teredo In Windows – ITfreetraining (2024)

FAQs

Configuring Teredo In Windows – ITfreetraining? ›

05:32 To enable Teredo, run the command “Set State Client”. On some versions of Windows, Teredo will be disabled by default and this command will need to be run. 05:35 To enable Teredo and configure a server, run the command “Set State Client” followed by a Teredo server.

How do I fix the Microsoft Teredo tunneling adapter? ›

Step-by-Step Guide on How to Reinstall the Microsoft Teredo Tunneling Adapter
  1. Step 1: Open Device Manager. ...
  2. Step 2: Locate Network Adapters. ...
  3. Step 3: Uninstall the Microsoft Teredo Tunneling Adapter. ...
  4. Step 4: Reinstall the Microsoft Teredo Tunneling Adapter. ...
  5. Step 5: Verify the Installation. ...
  6. Step 6: Test the Adapter.

How to enable Teredo in Windows 10 using CMD? ›

Enable Teredo in Windows 10 and 11

Open an elevated command prompt. Type netsh interface teredo show state to show the status of Teredo tunnel. Type netsh interface teredo set state client example.com replacing example.com with your chosen Teredo server.

How do I set Teredo as default? ›

  1. First, try reverting the Teredo server name to the default value by running the following command in the Admin command prompt:
  2. netsh interface Teredo set state servername=default.

Why is Teredo disabled? ›

Some home routers will block Teredo connectivity if they detect that an IPv6 connection is present on the WAN interface of the router. For Teredo to function normally, the router needs to be configured to enable Teredo connectivity.

Should I disable Teredo tunneling? ›

Teredo is a temporary measure. In the long term, all IPv6 hosts should use native IPv6 connectivity. Teredo should be disabled when native IPv6 connectivity becomes available.

Can I uninstall Microsoft Teredo tunneling adapter? ›

Click the Network Adapters. Look for the adapters that contain Teredo such as Teredo Tunneling Pseudo-Interface or Microsoft Teredo Tunneling Adapter. Right-click the adapter name and click Uninstall. Restart your computer for the changes to take effect.

What are Teredo tunnels? ›

Teredo operates using a platform independent tunneling protocol designed to provide IPv6 connectivity by encapsulating IPv6 datagram packets within IPv4 User Datagram Protocol (UDP) packets. These datagrams can be routed on the IPv4 Internet and through NAT devices.

What is Teredo in Windows? ›

Teredo is a protocol that allows computers behind a NAT firewall (most home computers are) and without a native IPv6 connection to access remote IPv6 resources using only UDP protocol.

How to enable netsh commands? ›

To run a netsh command, you must start netsh from the command prompt or PowerShell by typing netsh and then pressing ENTER. Next, you can change to the context that contains the command you want to use. The contexts that are available depend on the networking components that you have installed.

How to check if Teredo is enabled? ›

To display Teredo status:
  1. Open an elevated/administrator command prompt.
  2. Type netsh interface teredo show state and press Enter.
  3. Observe the Teredo status.
Aug 16, 2021

What is the default port for Teredo? ›

The standard port on which the Teredo servers listen is UDP port 3544.

How do I change Teredo? ›

Re: Teredo problem on windows 11
  1. Windows Keys + R.
  2. gpedit. ...
  3. Under Computer Configuration > Administrative Templates > All Settings.
  4. Find "Set Teredo Client Port" , "Set Teredo Default Qualified" , "Set Teredo Refresh Rate", "Set Teredo Server Name", "Set Teredo State".
Aug 5, 2021

How do I reinstall Teredo on Windows 10? ›

Open the Device Manager and open the Network Adapters drop-down. Click View, then Show Hidden Devices. If the Teredo Adapter doesn't pop up, don't be surprised; it doesn't for most people either. Click Action and Scan for hardware changes, then click Action again and click Add legacy hardware.

How do I fix my Teredo NAT type? ›

To fix your connection, first check your router:
  1. Make sure your router has the latest updates.
  2. Make sure your router has Teredo connectivity enabled. You can find out how to check Teredo connectivity for your router in its manual or on the manufacturer's online support site. For Apple AirPort and AVM FRITZ!

How do I fix Teredo is unable to qualify Windows 11? ›

Disable your firewall temporarily and see if that resolves the issue. You can try installing the Teredo Tunneling Pseudo-Interface driver. You can download this driver from the Microsoft website. Check if IPSEC is enabled on your computer, if not, enable it and check if it resolves the issue.

How do I fix Teredo on my router? ›

Disable and re-enable Universal Plug and Play (UpnP) on the router. Then, restart the console and hold the Xbox button to open the guide. Go to System > Settings > General > Network settings and check the Network Address Translation (NAT) table. Set it to Open if it isn't already.

What is the problem with Teredo on Xbox? ›

If your console encounters an issue obtaining a Teredo IP address, you can't use party chat or connect to multiplayer games for some Xbox titles. If you encounter any of these error messages, the underlying issue is that the console was unable to obtain a Teredo IP address.

How do I disable tunneling? ›

Disabling Tunnel Adapters
  1. In the command prompt, enter ipconfig /all and check for Tunnel adapter Tunneling Interface Name. ...
  2. If you find a tunnel adapter with an assigned IP address: ...
  3. Enter ipconfig and verify that the tunnel adapter no longer appears.
  4. Restart the application server.

How do I remove a ghost network adapter from Windows? ›

Solution:
  1. Select View > Show Hidden Devices.
  2. Expand the Network Adapters list.
  3. Uninstall ALL of the greyed out network adapters (there will likely be several; do NOT delete drivers).
  4. Uninstall any unknown devices.
  5. Leave the other network devices alone.
  6. Select Action > Scan for Hardware Changes.
Mar 30, 2023

Top Articles
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 6367

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.