The Simplest Way to Make Tcp Proxies and Tableau Work Like They Should
Running tcp proxies and tableau together lets analytics teams query private databases without exposing raw ports. The network forwarder routes traffic from reporting servers to back-end data stores over controlled paths. Data analysts need fresh charts and dashboards every day. Still, security teams cannot open database ports to the public internet. Putting a network forwarder between the chart tool and the database solves the routing part. It keeps the database on a private subnet while charts
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.
Running tcp proxies and tableau together lets analytics teams query private databases without exposing raw ports. The network forwarder routes traffic from reporting servers to back-end data stores over controlled paths.
Data analysts need fresh charts and dashboards every day. Still, security teams cannot open database ports to the public internet. Putting a network forwarder between the chart tool and the database solves the routing part. It keeps the database on a private subnet while charts still load.
How data flows between tcp proxies and tableau
When a user opens a dashboard, the reporting app starts a database session. Instead of hitting the database IP, the app sends packets to the TCP forwarder. The forwarder accepts the socket and opens a new link to the target database.
Basic network relays work at layer four of the network stack. They read IP addresses and port numbers, then pass raw bytes back and forth. Because they only see network packets, they do not know which analyst clicked the chart. They also do not read the SQL query inside the traffic.
To log in, the reporting server sends a database username and password through the tunnel. The database checks those credentials and returns the rows for the report. If Transport Layer Security is on, the traffic stays encrypted from end to end.
Common failure modes with shared accounts and broad networks
Many teams set up a single service account for all reporting traffic. Every dashboard uses the same database login to run queries through the forwarder. When a bad query slows down the database, nobody knows who ran it. The database log only shows the shared service account and the forwarder IP address.
Shared accounts also carry wide read permissions across many schemas. An analyst building a sales chart might pull rows from a sensitive payroll table. Standard network forwarders cannot stop this because they do not inspect SQL commands. They cannot mask emails, phone numbers, card numbers, or national IDs in query results.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Connection drops cause another common headache during long extract refreshes. If a firewall or forwarder closes idle sockets too soon, big data extracts fail. Teams must align keep-alive timers across the reporting tool, the forwarder, and the database.
Scoping roles and network paths for analytics traffic
Start by locking down network paths with strict firewall rules. Only allow the reporting servers to reach the TCP forwarder port. Then allow the forwarder to reach only the specific database ports it needs. Drop all other traffic between the reporting tier and the data tier.
Next, replace the single shared database login with scoped roles for each team. Give the finance team a database role that only reads finance tables. Give the marketing team a separate role limited to campaign data. Assign these specific credentials to the matching projects inside the reporting server.
Finally, use database views to strip out sensitive columns before charts read them. When you combine strict network rules with least-privilege database roles, reporting stays fast and safe. Teams get the charts they need, and auditors get clear logs.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Why do long data extracts fail through a TCP forwarder?
Network forwarders often close connections that look idle while the database processes a heavy query. Setting TCP keep-alive timers on the reporting server prevents the forwarder from dropping the socket.
Does a basic TCP forwarder hide sensitive columns in dashboards?
No, a standard layer four forwarder only moves raw network packets between hosts. To rewrite emails or card numbers in results, you need a tool that understands the database protocol.
How can we see which analyst ran a slow dashboard query?
Map individual user logins or group roles to separate database sessions instead of one shared account. You can also pass viewer metadata in query comments if your database logs them.
Related guides
In this post