Auteur Sujet: Teredo: Tunneling IPv6 sur UDP activé par Windows  (Lu 39514 fois)

0 Membres et 1 Invité sur ce sujet

thenico

  • Expert.
  • Abonné OVH
  • *
  • Messages: 1 009
  • FTTH >500 Mb/s (13)
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #24 le: 22 juin 2016 à 12:22:50 »
Le premier routeur est toujours 6to4.par1.he.net [2001:470:0:195::2] donc c'est bien HE qui réalise le service Teredo pour Microsoft, non ?

Non, HE héberge un relay Teredo, pas un serveur Teredo.
La documentation MSDN explique tout cela.

Teredo pour Windows XP, Vista & 7 a été sunset, les raisons ont été expliqué dans les PDF de ma première réponse (principalement un taux d'echec beaucoup trop important).
(J'ai parfois l'impression que personne ne me lit ...)

kgersen

  • Modérateur
  • Abonné Bbox fibre
  • *
  • Messages: 9 091
  • Paris (75)
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #25 le: 22 juin 2016 à 13:15:36 »
(J'ai parfois l'impression que personne ne me lit ...)

en fait les gens lisent ce qu'on écrit ici si c'est simple, clair et pas trop long.
si on se contente de poster un lien vers un gros article en anglais 99% ne le liront pas.

vivien

  • Administrateur
  • *
  • Messages: 47 183
    • Twitter LaFibre.info
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #26 le: 22 juin 2016 à 13:28:42 »
Non, HE héberge un relay Teredo, pas un serveur Teredo.

Effectivement, c'est bien expliqué (mais en anglais) :
Teredo Clients

A Teredo client is an IPv6/IPv4 node that supports a Teredo tunneling interface through which packets are tunneled to other Teredo clients or nodes on the IPv6 Internet (via a Teredo relay). A Teredo client communicates with a Teredo server to obtain an address prefix from which a Teredo-based IPv6 address is configured or used to facilitate communication with other Teredo clients or hosts on the IPv6 Internet.

Windows XP with Service Pack 1 (SP1) with the Advanced Networking Pack, Windows XP with Service Pack 2 (SP2), Windows Server 2003 with Service Pack 1 (SP1),Windows Server 2003 with Service Pack 2 (SP2), Windows Vista, and Windows Server 2008 all include the Teredo client.

Teredo Servers

A Teredo server is an IPv6/IPv4 node that is connected to both the IPv4 Internet and the IPv6 Internet, and supports a Teredo tunneling interface over which packets are received. The general role of the Teredo server is to assist in the address configuration of Teredo clients and to facilitate the initial communication between Teredo clients and other Teredo clients or between Teredo clients and IPv6-only hosts. The Teredo server listens on UDP port 3544 for Teredo traffic.

Unlike the client, the Teredo server is not included with Microsoft operating platforms. To facilitate communication between Windows-based Teredo client computers, Microsoft has deployed Teredo servers on the IPv4 Internet.

Teredo Relays

A Teredo relay is an IPv6/IPv4 router that can forward packets between Teredo clients on the IPv4 Internet (using a Teredo tunneling interface) and IPv6-only hosts. In some cases, the Teredo relay interacts with a Teredo server to facilitate initial communication between Teredo clients and IPv6-only hosts. The Teredo relay listens on UDP port 3544 for Teredo traffic.

Like the Teredo server, Microsoft operating platforms do not include Teredo relay functionality. Microsoft does not currently plan to deploy Teredo relays on the IPv4 Internet. Teredo relays are not required to communicate with Teredo host-specific relays.

Teredo Host-Specific Relays

Communication between Teredo clients and IPv6 hosts that are configured with a global address must go through a Teredo relay. This is required for IPv6-only hosts connected to the IPv6 Internet. However, when the IPv6 host is IPv6 and IPv4-capable and connected to both the IPv4 Internet and IPv6 Internet, then communication should occur between the Teredo client and the IPv6 host over the IPv4 Internet, rather than having to traverse the IPv6 Internet and go through a Teredo relay.

A Teredo host-specific relay is an IPv6/IPv4 node that has an interface and connectivity to both the IPv4 Internet and the IPv6 Internet and can communicate directly with Teredo clients over the IPv4 Internet, without the need for an intermediate Teredo relay. The connectivity to the IPv4 Internet can be through a public IPv4 address or through a private IPv4 address and a neighboring NAT. The connectivity to the IPv6 Internet can be through a direct connection to the IPv6 Internet or through an IPv6 transition technology such as 6to4, where IPv6 packets are tunneled across the IPv4 Internet. The Teredo host-specific relay listens on UDP port 3544 for Teredo traffic.

Windows XP with SP1 with the Advanced Networking Pack, Windows XP with SP2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Vista, and Windows Server 2008 include Teredo host-specific relay functionality, which is automatically enabled if the computer has a global address assigned. A global address is assigned in a received Router Advertisement message from a native IPv6 router, an ISATAP router, or a 6to4 router. If the computer does not have a global address, Teredo client functionality is enabled.

The Teredo host-specific relay allows Teredo clients to efficiently communicate with 6to4 hosts, IPv6 hosts with a non-6to4 global prefix, or ISATAP or 6over4 hosts within organizations that use a global prefix for their addresses, provided both hosts are using a version of Windows that supports Teredo.

raf

  • Expert France-IX
  • Expert
  • *
  • Messages: 645
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #27 le: 22 juin 2016 à 14:23:02 »
... sinon il y a l'IPv6 natif, qui fait desactiver automatiquement toutes les saloperies type Teredo, 6to4, ....
Mais bon.... quand on voit qu'il y a des DSP qui empechent explicitement tout protocole autre qu'IPv4 (alors qu'ils parlent d'un service de "transport L2") ......

corrector

  • Invité
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #28 le: 22 juin 2016 à 16:16:26 »
Oui voilà bien dit.

Un mécanisme de transition n'a pas vocation à être gardé éternellement. Ce n'est pas DU TOUT de la faute de MS (que je déteste et que je méprise toujours, hein) si les FAI n'ont pas tout commencé à distribuer des IPv6.

vivien

  • Administrateur
  • *
  • Messages: 47 183
    • Twitter LaFibre.info
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #29 le: 13 mars 2020 à 15:30:19 »
Je relance ce sujet.

En 2020, Teredo pourrait avoir un intérêt dans la transition vers IPv6 : permettre à un client sans IPv6 (coucou SFR) d'avoir accès aux sites IPv6 only qui commencent à arriver.

Teredo est bien présent dans Windows 10 (version 1909) mais je n'ai pas trouvé de solution pour l'activer.
Si vous savez comment activer Teredo avec Windows10 (version 1809 ou plus récente), je suis preneur.



Selon Hurricane Electric Microsoft à retiré le protocole 6in4 de Windows 10 1803 avant de le remettre dans la version 1809, probablement suite à des plaintes.

Windows 10 Build 1803 does not support 6in4 tunnels. Microsoft removed some IPv6 transition technologies in this build, and looks to have removed 6in4 in the process. 6in4 is reportedly re-added in Insider Build 17711, and in the final Build 1809.

Other Windows 10 Builds with the KB3081448, KB3081449, and KB3081452 updates applied: use the above configuration.

You may also need to set an IPv6 DNS server. You can do this under Network and Sharing Center / Change Adapter Settings, select your NIC and right click for Properties, double click Internet Protocol Version 6, and enter an IPv6 DNS server, such as 2001:470:20::2.


6in4 est utilisé par Teredo, mais aussi par les Tunnel Broker IPv6 comme celui d'Hurricane Electric.

darkmoon

  • Abonné Free fibre
  • *
  • Messages: 742
  • ↓ 5 Gbps | ↑ 700Mbps (SGL 69)
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #30 le: 13 mars 2020 à 19:10:12 »
J'ai essayé netsh interface teredo set state client et ca semble avoir fonctionné.
Carte Tunnel Teredo Tunneling Pseudo-Interface :

   Suffixe DNS propre à la connexion. . . :
   Description. . . . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
   Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP activé. . . . . . . . . . . . . . : Non
   Configuration automatique activée. . . : Oui
   Adresse IPv6. . . . . . . . . . . . . .: 2001:0:1428:8f18:1480:1e5c:3f57:ffef(préféré)
   Adresse IPv6 de liaison locale. . . . .: fe80::1480:1e5c:3f57:ffef%19(préféré)

Bon après j'suis chez Free donc j'ai déjà une ipv6 et j'ai la flemme de tester plus :D

vivien

  • Administrateur
  • *
  • Messages: 47 183
    • Twitter LaFibre.info
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #31 le: 13 mars 2020 à 21:36:04 »
Voici la ce que cela donne :
C:\Windows\system32>netsh interface teredo set state client
Ok.


C:\Windows\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : client
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 30 secondes
Port client                 : unspecified
Statut                      : probe (secondary server)
Type de client          : teredo client
Réseau                  : unmanaged

Pas d'IPv6 et pas de règles de NAT crée via UPnP (UPnP est bien activé sur ma box)

Extrait de l'ipconfig / all : Pas de passerelle par défaut
Carte Tunnel Teredo Tunneling Pseudo-Interface :

   Suffixe DNS propre à la connexion. . . :
   Description. . . . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
   Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP activé. . . . . . . . . . . . . . : Non
   Configuration automatique activée. . . : Oui
   Adresse IPv6. . . . . . . . . . . . . .: 2001:0:1428:8f18:1010:3066:a2e2:702(préféré)
   Adresse IPv6 de liaison locale. . . . .: fe80::1010:3066:a2e2:702%10(préféré)
   Passerelle par défaut. . . . . . . . . : ::
   IAID DHCPv6 . . . . . . . . . . . : 167772160
   DUID de client DHCPv6. . . . . . . . : 00-01-00-01-25-3B-43-22-08-00-27-FD-CF-94
   NetBIOS sur TCPIP. . . . . . . . . . . : Désactivé

Après reboot :
C:\Users\Vivien>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : client
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 30 secondes
Port client                 : unspecified
Statut                      : qualified
Type de client          : teredo client
Réseau                  : unmanaged
NAT                     : restricted (port)
Comportement spécial NAT   : UPNP: Non, PortPreserving: Oui
Mappage local           : 192.168.0.16:53145
Mappage NAT externe    : 93.29.248.25:53145

Pourtant ma box ne voit toujours pas de règles UPnp.

Carte Tunnel Teredo Tunneling Pseudo-Interface :

   Suffixe DNS propre à la connexion. . . :
   Description. . . . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
   Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP activé. . . . . . . . . . . . . . : Non
   Configuration automatique activée. . . : Oui
   Adresse IPv6. . . . . . . . . . . . . .: 2001:0:1428:8f18:1010:3066:a2e2:702(préféré)
   Adresse IPv6 de liaison locale. . . . .: fe80::1010:3066:a2e2:702%10(préféré)
   Passerelle par défaut. . . . . . . . . : ::
   IAID DHCPv6 . . . . . . . . . . . : 167772160
   DUID de client DHCPv6. . . . . . . . : 00-01-00-01-25-3B-43-22-08-00-27-FD-CF-94
   NetBIOS sur TCPIP. . . . . . . . . . . : Désactivé

Toujours pas d'IPv6 quand je vais sur un site IPv6 only comme http://ipv6.lafibre.info

vivien

  • Administrateur
  • *
  • Messages: 47 183
    • Twitter LaFibre.info
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #32 le: 13 mars 2020 à 21:52:26 »
Second PC Windows 10 1909 sur la même box, après activation via netsh interface teredo set state client :

C:\WINDOWS\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : client
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 20 secondes
Port client                 : unspecified
Statut                      : dormant

Carte Tunnel Teredo Tunneling Pseudo-Interface :

   Suffixe DNS propre à la connexion. . . :
   Description. . . . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
   Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP activé. . . . . . . . . . . . . . : Non
   Configuration automatique activée. . . : Oui
   Adresse IPv6. . . . . . . . . . . . . .: 2001:0:1428:8f18:1405:1999:a2e2:702(préféré)
   Adresse IPv6 de liaison locale. . . . .: fe80::1405:1999:a2e2:702%10(préféré)
   Passerelle par défaut. . . . . . . . . : ::
   IAID DHCPv6 . . . . . . . . . . . : 167772160
   DUID de client DHCPv6. . . . . . . . : 00-01-00-01-23-DB-C2-01-9C-30-5B-6F-FE-CF
   NetBIOS sur TCPIP. . . . . . . . . . . : Désactivé

Sur ce PC un reboot ne change rien.

Ce second PC a eu un tunnel6 Hurricane Electric, supprimé par la commande netsh int ipv6 reset

Le premier PC lui, également Windows 10 1090 n'avait jamais eu Hurricane Electric.

thenico

  • Expert.
  • Abonné OVH
  • *
  • Messages: 1 009
  • FTTH >500 Mb/s (13)
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #33 le: 14 mars 2020 à 04:47:53 »
Pour pousser Teredo a s'activer, la commande PowerShell est Set-NetTeredoConfiguration -Type natawareclient -DefaultQualified $true -RefreshIntervalSecond 10
Il y a un problème avec l'implementation UPNP fournis par OPNSense, le port externe configuré dans la régle NAT n'est pas celui détecté par Windows.


Fyr

  • Abonné Free fibre
  • *
  • Messages: 840
  • Talissieu 01
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #34 le: 14 mars 2020 à 05:52:35 »
netsh interface teredo set state type=enterpriseclient

ou via policy

You'll then be in the Group Policy Editor. Under Computer Configuration in the tree view, expand Administrative Templates then click All Settings. Look for "Set Teredo State", then double-click that. You will then enable the policy and set the state below to "Enterprise Client" from what it was before in the dropdown menu under "Select from the following states".

https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/teredo-tunneling-adapter-is-missing/aeeae78c-13e8-4bf1-b82d-a0e492d47f50?page=2

vivien

  • Administrateur
  • *
  • Messages: 47 183
    • Twitter LaFibre.info
Teredo: Tunneling IPv6 sur UDP activé par Windows
« Réponse #35 le: 14 mars 2020 à 10:47:12 »
netsh interface teredo set state type=enterpriseclient

PC1 :
C:\Windows\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : client
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 30 secondes
Port client                 : unspecified
Statut                      : dormant


C:\Windows\system32>netsh interface teredo set state type=enterpriseclient
Ok.


C:\Windows\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : enterpriseclient
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 30 secondes
Port client                 : unspecified
Statut                      : dormant

PC2 :
C:\WINDOWS\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : client
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 20 secondes
Port client                 : unspecified
Statut                      : dormant


C:\WINDOWS\system32>netsh interface teredo set state type=enterpriseclient
Ok.


C:\WINDOWS\system32>netsh interface teredo show state
Paramètres Teredo
---------------------------------------------
Type                        : enterpriseclient
Nom du serveur              : win1901.ipv6.microsoft.com.
Interv. d'actual. du client : 20 secondes
Port client                 : unspecified
Statut                      : dormant