[Yandex Cloud documentation](../../../index.md) > [All solutions](../../index.md) > [DataLens](../index.md) > How to find IP addresses used for connecting to external data sources

# How to find IP addresses used for connecting to external data sources



## Case description {#case-description}

You need to find out which IP addresses Yandex DataLens uses to connect to external data sources.

## Solution {#case-resolution}

Yandex DataLens uses the specified IP address range to access external databases.

Yandex Cloud holds no responsibility for configuring a remote connection on an external database server side. When connecting an external database that is not a Yandex Cloud resource:

* Make sure the database uses an SSL certificate signed by a SSL certificate authority. You will not be able to create a connection in DataLens if the database uses a self-signed SSL certificate.
* Grant database access to the following DataLens IP ranges (`/` is followed by the subnet mask length):

  {% list tabs group=ip_address %}

  - ipv4 {#ipv4}

    * `178.154.242.176/28`
    * `178.154.242.192/28`
    * `178.154.242.208/28`
    * `178.154.242.128/28`
    * `178.154.242.144/28`
    * `178.154.242.160/28`
    * `130.193.60.0/28`

  - ipv6 {#ipv6}

    * `2a02:6b8:c03:500:0:f83d:a987:0/112`
    * `2a02:6b8:c02:900:0:f83d:a987:0/112`
    * `2a02:6b8:c0e:500:0:f83d:a987:0/112`
    * `2a02:6b8:c41:1300:0:f83d:a987:0/112`

  {% endlist %}