Set Teredo Client Port: registry value Teredo_ClientPortComputerHKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition

Policy ID
Teredo_Client_Port
Scope
Computer Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Network › TCPIP Settings › IPv6 Transition Technologies

Registry

Teredo_ClientPort

REG_DWORDComputer
Enabled value
Depends on the option value
Element
-
Value type
REG_DWORD
Required
true
Minimum value
0
Maximum value
65535
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"Teredo_ClientPort"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\Software\Policies\Microsoft\Windows\TCPIP\v6Transition" /v "Teredo_ClientPort" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition' -Name 'Teredo_ClientPort' -PropertyType DWord -Value '<enter value>' -Force | Out-Null