Limita l'esposizione dell'indirizzo IP locale da WebRTC: valore del Registro di sistema WebRtcLocalhostIpHandlingUtenteHKCU\Software\Policies\Microsoft\Edge
- ID criterio
- WebRtcLocalhostIpHandling
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Microsoft Edge versione 77, Windows 7 o versione successiva
- Origine
- Microsoft Edge Policy Templates (versione 155.0.4283.45)
- Categoria
- Microsoft Edge › Impostazioni WebRtc
Registro
WebRtcLocalhostIpHandling
REG_SZUtenteComputer…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Chiave corrente
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Limita l'esposizione dell'indirizzo IP locale da WebRTC
| Voce | Valore memorizzato |
|---|---|
| Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost | default |
| Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost | default_public_and_private_interfaces |
| Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. | default_public_interface_only |
| Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto | disable_non_proxied_udp |
Applica con .reg · CMD · PowerShell
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Opzioni (usarne solo una) ; Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost "WebRtcLocalhostIpHandling"="default" ; Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost "WebRtcLocalhostIpHandling"="default_public_and_private_interfaces" ; Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. "WebRtcLocalhostIpHandling"="default_public_interface_only" ; Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto "WebRtcLocalhostIpHandling"="disable_non_proxied_udp"
CMD
:: Opzioni (usarne solo una) :: Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default" /f :: Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f :: Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_interface_only" /f :: Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opzioni (usarne solo una) # Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default' -Force | Out-Null # Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null # Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null # Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Opzioni (usarne solo una) ; Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost "WebRtcLocalhostIpHandling"="default" ; Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost "WebRtcLocalhostIpHandling"="default_public_and_private_interfaces" ; Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. "WebRtcLocalhostIpHandling"="default_public_interface_only" ; Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto "WebRtcLocalhostIpHandling"="disable_non_proxied_udp"
CMD
:: Opzioni (usarne solo una) :: Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default" /f :: Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f :: Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_interface_only" /f :: Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opzioni (usarne solo una) # Consenti tutte le interfacce. Viene esposto l'indirizzo IP localhost New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default' -Force | Out-Null # Consenti le interfacce pubbliche e private sulla route HTTP predefinita. Viene esposto l'indirizzo IP localhost New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null # Consenti interfaccia pubblica sulla route http predefinita. Non viene esposto l'indirizzo IP localhost. New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null # Utilizza TCP a meno che il server proxy non supporti UDP. L'indirizzo IP localhost non viene esposto New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null