If your PostgreSQL database sits behind a firewall, a cloud BI tool can only read the etlmcp table once you allow the addresses that tool connects from. Looker Studio, now branded Data Studio, uses 142.251.74.0/23 and, for IPv6, 2001:4860:4807::/48; with data residency it uses 142.251.56.0/24 and 2001:4860:4815::/48. Metabase Cloud publishes three IPv4 addresses for each hosting region. Tableau Cloud's addresses depend on the pod your site runs on, and Salesforce publishes them in a table and a JSON file. Power BI's service has no single range to allow: it reaches PostgreSQL through a cloud connection or a data gateway, and with a gateway the network rules belong on the gateway's side. Keep all of these apart from the address etlmcp itself loads from.
Data Studio (formerly Looker Studio)
Open your firewall to one of these ranges:
| Setup | IPv4 | IPv6 (optional) |
|---|---|---|
| Standard | 142.251.74.0/23 | 2001:4860:4807::/48 |
| Data Studio Pro with data residency on | 142.251.56.0/24 | 2001:4860:4815::/48 |
On a Cloud SQL instance with a public IP, these ranges go in the instance's authorized networks; the connector does not use the Cloud SQL proxy. The connector can encrypt the connection with TLS 1.2 when you tick "Enable SSL" and upload your certificate files. If you give a hostname rather than an address, Google suggests checking that it resolves in a public DNS lookup.
Metabase Cloud
Metabase Cloud connects from three fixed addresses in your hosting region. Allow the three for your region:
| Region | Addresses |
|---|---|
United States, North Virginia (us-east-1) |
18.207.81.126, 3.211.20.157, 50.17.234.169 |
Europe, Frankfurt (eu-central-1) |
18.192.2.142, 18.184.191.58, 3.65.184.173 |
Asia Pacific, Singapore (ap-southeast-1) |
54.179.42.215, 3.1.176.8, 18.139.48.211 |
Asia Pacific, Sydney (ap-southeast-2) |
13.238.131.1, 3.105.237.132, 54.252.39.14 |
South America, São Paulo (sa-east-1) |
18.228.120.123, 54.207.106.108, 18.228.120.162 |
Tableau Cloud
Tableau Cloud runs on Salesforce's Hyperforce, and the addresses it connects from depend on the pod that hosts your site. You can read your pod name in the URL after you sign in to Tableau Cloud. Salesforce's "Keep Data Fresh" page has a table that maps each pod to a Hyperforce region and an IP range, and Salesforce also publishes its IP ranges as a JSON file grouped by Hyperforce region. Keep your allowlist in step with that file rather than copying one range once. Salesforce says allowlisting keeps live connections working, and the page lists it as a requirement for cloud-hosted data that uses embedded credentials. Besides the range, you may also need to open the database's port.
Power BI service
Microsoft's PostgreSQL connector page lists three ways for the Power BI service to reach the database: a cloud connection, a virtual network data gateway, or an on-premises data gateway.
With an on-premises data gateway, you install the gateway on a Windows machine that can reach your database. The gateway opens only outbound connections to Microsoft's cloud and needs no inbound ports, so the database sees the gateway machine, not the Power BI service. Configure the firewall for that machine's address. The connector can use an encrypted connection if your PostgreSQL server is set up for SSL; in Power Query Online you clear Use Encrypted Connection only when it is not.
Writing the rules in PostgreSQL
A firewall rule is not always enough: PostgreSQL also checks pg_hba.conf. Each rule there takes an address range in CIDR form, such as a /23 or a /32 for one host. A range written in IPv4 form matches only IPv4 connections, so an IPv6 range like Data Studio's needs a line of its own. A hostssl line matches only encrypted connections. The server must also listen on a network address through listen_addresses, because by default it listens only on localhost.
hostssl analytics bi_reader 142.251.74.0/23 scram-sha-256
hostssl analytics bi_reader 2001:4860:4807::/48 scram-sha-256
hostssl analytics bi_reader 18.207.81.126/32 scram-sha-256
Here analytics is the database and bi_reader a database user you create for the BI tool. Give the BI tool its own user that only reads, not the user etlmcp writes with.
Keep etlmcp's loader access separate
etlmcp is a different client from your BI tool. It connects to your database to write the table, and it needs its own rule. When the service has an outbound address configured, the Destinations page shows it in a note that tells you to allow connections from it if you are behind a firewall. Add that address as its own pg_hba.conf line, for the user you gave etlmcp, and do not widen a BI tool's range to cover it.
etlmcp checks the host you give it before it connects: the name must resolve to public addresses, and a host that resolves to a private or local address is refused. It always connects with SSL, at require or stricter, so a hostssl rule for its address works. For the connection settings and what each error means, see the PostgreSQL destination.