Set 6to4 Relay Name
Définir le nom de relais 6to4
Explanation
This policy setting allows you to specify a 6to4 relay name for a 6to4 host. A 6to4 relay is used as a default gateway for IPv6 network traffic sent by the 6to4 host. The 6to4 relay name setting has no effect if 6to4 connectivity is not available on the host.
If you enable this policy setting, you can specify a relay name for a 6to4 host.
If you disable or do not configure this policy setting, the local host setting is used, and you cannot specify a relay name for a 6to4 host.
Ce paramètre de stratégie vous permet de spécifier le nom de relais 6to4 d’un hôte 6to4. Un relais 6to4 est utilisé comme passerelle par défaut pour le trafic réseau IPv6 envoyé par l’hôte 6to4. Le paramètre Nom de relais 6to4 n’a aucun effet si la connectivité 6to4 n’est pas disponible sur l’hôte.
Si vous activez ce paramètre de stratégie, vous pouvez spécifier le nom de relais d’un hôte 6to4.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, c’est le paramètre de l’hôte local qui est utilisé, et vous ne pouvez pas spécifier de nom de relais pour un hôte 6to4.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: tcpip/6to4_Router_Name
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enter a router or relay name
Set-ItemProperty -Path $k -Name '6to4_RouterName' -Value '<value>' -Type StringDisable
# Disable: tcpip/6to4_Router_Name
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": tcpip/6to4_Router_Name
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name '6to4_RouterName' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enter a router or relay name:Entrez un nom de routeur ou de relais :RouterNameBox | Text boxtext | 6to4_RouterName | REG_SZ |