Zichtbaarheid van lokale IP-adressen beperken met WebRTC: registerwaarde WebRtcLocalhostIpHandlingComputerHKLM\Software\Policies\Microsoft\Edge

Beleids-ID
WebRtcLocalhostIpHandling
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 77, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge › WebRtc-instellingen

Register

WebRtcLocalhostIpHandling

REG_SZComputerGebruiker
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Huidige sleutel
HKCU\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Zichtbaarheid van lokale IP-adressen beperken met WebRTC
Opties
ItemOpgeslagen waarde
Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaardefault
Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaardefault_public_and_private_interfaces
Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegevendefault_public_interface_only
TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegevendisable_non_proxied_udp
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
"WebRtcLocalhostIpHandling"="default"
; Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
"WebRtcLocalhostIpHandling"="default_public_and_private_interfaces"
; Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
"WebRtcLocalhostIpHandling"="default_public_interface_only"
; TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
"WebRtcLocalhostIpHandling"="disable_non_proxied_udp"
CMD
:: Opties (gebruik er maar één)

:: Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default" /f
:: Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f
:: Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_interface_only" /f
:: TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default' -Force | Out-Null
# Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null
# Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null
# TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opties (gebruik er maar één)
; Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
"WebRtcLocalhostIpHandling"="default"
; Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
"WebRtcLocalhostIpHandling"="default_public_and_private_interfaces"
; Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
"WebRtcLocalhostIpHandling"="default_public_interface_only"
; TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
"WebRtcLocalhostIpHandling"="disable_non_proxied_udp"
CMD
:: Opties (gebruik er maar één)

:: Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default" /f
:: Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_and_private_interfaces" /f
:: Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "default_public_interface_only" /f
:: TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "WebRtcLocalhostIpHandling" /t REG_SZ /d "disable_non_proxied_udp" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opties (gebruik er maar één)
# Alle interfaces toestaan. Het lokale IP-adres is dan zichtbaar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default' -Force | Out-Null
# Openbare en persoonlijke interfaces via HTTP-standaardroute toestaan. Het lokale IP-adres is dan zichtbaar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_and_private_interfaces' -Force | Out-Null
# Openbare interface toestaan via HTTP-standaardroute. Hiermee wordt het lokale IP-adres niet weergegeven
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'default_public_interface_only' -Force | Out-Null
# TCP gebruiken, tenzij de proxyserver UDP ondersteunt. In dat geval wordt het lokale IP-adres niet weergegeven
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'WebRtcLocalhostIpHandling' -PropertyType String -Value 'disable_non_proxied_udp' -Force | Out-Null