Restrict exposure of local IP address by WebRTC

Allows you to set whether or not WebRTC exposes the user's local IP address.

If you set this policy to "AllowAllInterfaces" or "AllowPublicAndPrivateInterfaces", WebRTC exposes the local IP address.

If you set this policy to "AllowPublicInterfaceOnly" or "DisableNonProxiedUdp", WebRTC doesn't expose the local IP address.

If you don't set this policy, or if you disable it, WebRTC exposes the local IP address.

Policy options mapping:

* AllowAllInterfaces (default) = Allow all interfaces. This exposes the local IP address

* AllowPublicAndPrivateInterfaces (default_public_and_private_interfaces) = Allow public and private interfaces over http default route. This exposes the local IP address

* AllowPublicInterfaceOnly (default_public_interface_only) = Allow public interface over http default route. This doesn't expose the local IP address

* DisableNonProxiedUdp (disable_non_proxied_udp) = Use TCP unless proxy server supports UDP. This doesn't expose the local IP address

Use the preceding information when configuring this policy.

Example value: default

Supported on: Microsoft Edge version 77, Windows 7 or later

Restrict exposure of local IP address by WebRTC


  1. Allow all interfaces. This exposes the local IP address
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameWebRtcLocalhostIpHandling
    Value TypeREG_SZ
    Valuedefault
  2. Allow public and private interfaces over http default route. This exposes the local IP address
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameWebRtcLocalhostIpHandling
    Value TypeREG_SZ
    Valuedefault_public_and_private_interfaces
  3. Allow public interface over http default route. This doesn't expose the local IP address
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameWebRtcLocalhostIpHandling
    Value TypeREG_SZ
    Valuedefault_public_interface_only
  4. Use TCP unless proxy server supports UDP. This doesn't expose the local IP address
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameWebRtcLocalhostIpHandling
    Value TypeREG_SZ
    Valuedisable_non_proxied_udp


msedge.admx

Administrative Templates (Computers)

Administrative Templates (Users)