WebRTC IP handling: registry value WebRtcIPHandlingUserHKCU\Software\Policies\Google\Chrome

Policy ID
WebRtcIPHandling
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Windows 7 or later
Source
Google Chrome Policy Templates (version 156.0.8078.80)
Category
Google › Google Chrome › WebRtc settings

Registry

WebRtcIPHandling

REG_SZUserComputer
Enabled value
Depends on the option value
Element
WebRTC IP handling
Options
ItemStored value
WebRTC will use all available interfaces when searching for the best path.default
WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.default_public_and_private_interfaces
WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.default_public_interface_only
WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.disable_non_proxied_udp
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Options (use only one)
; WebRTC will use all available interfaces when searching for the best path.
"WebRtcIPHandling"="default"
; WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
"WebRtcIPHandling"="default_public_and_private_interfaces"
; WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
"WebRtcIPHandling"="default_public_interface_only"
; WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
"WebRtcIPHandling"="disable_non_proxied_udp"
CMD
:: Options (use only one)

:: WebRTC will use all available interfaces when searching for the best path.
reg add "HKCU\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default" /f
:: WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
reg add "HKCU\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f
:: WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
reg add "HKCU\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default_public_interface_only" /f
:: WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
reg add "HKCU\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (use only one)
# WebRTC will use all available interfaces when searching for the best path.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default' -Force | Out-Null
# WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null
# WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null
# WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Options (use only one)
; WebRTC will use all available interfaces when searching for the best path.
"WebRtcIPHandling"="default"
; WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
"WebRtcIPHandling"="default_public_and_private_interfaces"
; WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
"WebRtcIPHandling"="default_public_interface_only"
; WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
"WebRtcIPHandling"="disable_non_proxied_udp"
CMD
:: Options (use only one)

:: WebRTC will use all available interfaces when searching for the best path.
reg add "HKLM\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default" /f
:: WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
reg add "HKLM\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f
:: WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
reg add "HKLM\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "default_public_interface_only" /f
:: WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
reg add "HKLM\Software\Policies\Google\Chrome" /v "WebRtcIPHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (use only one)
# WebRTC will use all available interfaces when searching for the best path.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default' -Force | Out-Null
# WebRTC will only use the interface connecting to the public Internet, but may connect using private IP addresses.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null
# WebRTC will only use the interface connecting to the public Internet, and will not connect using private IP addresses.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null
# WebRTC will use TCP on the public-facing interface, and will only use UDP if supported by a configured proxy.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'WebRtcIPHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null