Skip to content
Michael-X-Net edited this page Feb 4, 2023 · 1 revision

Tip: This article enables IPv6 based on the Teredo tunnel, and other methods to enable IPv6 are yet to be perfected.

Specially Important: Find Network and Sharing Center - Change Adapter Settings - Local Area Connection (WLAN or Bluetooth network connection for wireless network) - Properties, remove the check in front of the IPv6 protocol, and confirm. *Otherwise there will be some weird issues. *

Home Edition

Command Line:

Same as Professional or Enterprise Edition command line method

Professional or Enterprise Edition

Command Line:

  • Win+X to open CMD or Windows PowerShell (administrator), enter the command:

      // Set Teredo server, default: win10.ipv6.microsoft.com
      netsh interface teredo set state enterpriseclient server=default
     
      // Test IPv6 connectivity
      ping -6 ipv6.test-ipv6.com
      ping -6 [2001:470:1:18::125]
    
      // reset IPv6 configuration
      netsh interface ipv6 reset
  • reboot the system

  • Use the command ipconfig /all to view the current network information, and see that Teredo Tunneling Pseudo-Interface has an IPv6 address starting with 2001. Start the IE browser, visit http://test-ipv6.com or http://ipv6.test-ipv6.com, if the tab "Test Item" under "**Do not use Domain Name IPv6 Test **" shows success, then the tunnel is established successfully. Chrome browser test results may be different from IE, please note

  • If IPv6 still cannot be enabled after the above operations, it may be that the Teredo server cannot be connected normally, or it may be a problem with the configuration of Windows itself. You can try the following two methods:

      // The first method: modify the Teredo server to teredo.remlab.net
      netsh interface teredo set state server=teredo.remlab.net
    
      // Second: Uninstall the current Teredo adapter first and then re-enable it
      netsh interface Teredo set state disable
      netsh interface Teredo set state type=default
      ping -6 ipv6.test-ipv6.com

    dormant

Script:

Open the XX-Net directory, switch to code\default\gae_proxy\local\ipv6_tunnel, execute enable_ipv6.bat

Group Policy Methods:

It is recommended not to mix the two methods

  • Win+R to open Group Policy gpedit.msc

    Group Policy

  • Open "Computer Configuration" - "Administrative Templates" - "Network" - "TCPIP Settings" - "IPv6 Transition Technology",

    "6to4 state" and "ISATAP state" are both configured as "disabled state",

    ** "Teredo Status" configured as "Enterprise Client" and "Teredo Default Limit" configured as "Enabled Status"**

    IPv6 Conversion Technology

    Teredo Status

Tips: If other inexplicable problems occur if the settings are invalid according to the tutorial, it is recommended to:

  • Run disable_ipv6.bat in administrator mode. (If you are using the group policy mode, please change all the changed group policies to unconfigured)

    Delete regedit: Tcpip6 and TCPIP6TUNNEL under Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. (Please back up before changing the registry)

  • In Automatically disable or re-enable IPv6 or its components Download "Re-enable IPv6 on non-tunnel interfaces and IPv6 tunnel interfaces", run it, restart the computer, and follow the group policy tutorial to do it all over again. (Remember: the server name must be specified to enable IPv6 in the group policy method)

  • Prompted at the beginning of the article: Disable the IPv6 protocol.

Other references

Clone this wiki locally