The Simplest Way to Make Fivetran and Tcp Proxies Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use fivetran and tcp proxies to sync private database records into cloud warehouses. The network node routes encrypted database traffic so Fivetran can pull data without exposing internal hosts. This setup keeps your core databases off the public internet during every sync job. Data teams get fresh tables on a schedule while security teams keep strict firewall rules. How fivetran and tcp proxies move data Fivetran runs sync jobs from fixed cloud IP addresses on a set timer. It opens a

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams use fivetran and tcp proxies to sync private database records into cloud warehouses. The network node routes encrypted database traffic so Fivetran can pull data without exposing internal hosts.

This setup keeps your core databases off the public internet during every sync job. Data teams get fresh tables on a schedule while security teams keep strict firewall rules.

How fivetran and tcp proxies move data

Fivetran runs sync jobs from fixed cloud IP addresses on a set timer. It opens a network socket to your edge host to reach the source database.

The edge host accepts the incoming traffic and forwards packets to the private database. Your firewall only needs to allow traffic from Fivetran IP addresses to that single point.

Once the network link is open, Fivetran logs in with a database user and password. TLS encryption wraps the data stream so nobody can read packets on the wire.

Fivetran reads new rows and change logs from the source tables during each run. Then it writes those records straight to your warehouse for reporting and analysis.

Common failure modes and how to scope roles

Many teams make the mistake of sharing one admin database account across multiple apps. If a shared key leaks, an attacker can read or drop every table.

You should create a dedicated database role just for Fivetran sync jobs. Grant this role read permissions only on the specific schemas and tables needed for analytics.

Do not give the sync user permission to modify rows or change table structures. If Fivetran does not need a column with emails or card numbers, exclude it.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries also cause headaches when a large sync slows down your primary database. Turn on database query logs for the sync role so you can spot slow reads.

Network timeouts happen when the edge node drops idle sockets during a long query. Set your keepalive rules so long data reads do not break mid-flight.

Keeping network paths and sync keys safe

Static passwords stored in cloud dashboards create long-term risks for your data team. Rotate the database password for your sync user on a regular schedule.

Lock down your firewall so only known Fivetran IP ranges can reach your edge port. Drop all other incoming traffic before it ever touches your network boundary.

Place your edge routing nodes in a separate subnet away from your main database cluster. Allow those nodes to talk only to the exact database port required for the sync.

Check your network connection logs every week to spot failed login attempts or odd spikes. When you scope both network paths and database roles, your data pipeline stays safe.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Why use a TCP forwarder with Fivetran instead of direct database access?

Direct access forces you to put your private database on a public subnet. A forwarder sits in a public subnet and keeps the database hidden in private space.

What database permissions does Fivetran need to run a sync?

Fivetran needs read access to the target tables and access to database change logs. It never needs admin rights or permission to delete your source data.

Why do Fivetran sync jobs fail with network timeout errors?

Intermediate network nodes often close connections that look idle while a database prepares large results. Lowering the TCP keepalive timer keeps the socket open until data starts flowing.

The query runs. The emails stay hidden.