> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Egress firewall, proxy and TLS inspection

> Send e6data's outbound traffic on Azure through your firewall, and exempt e6data's hosts from TLS inspection.

How-to guideApplies to: CloudPrem on Azure

An explicit-proxy-only network is not supported today on Azure: use firewall-based egress, and exempt e6data's hosts from TLS inspection.

## Requirements

* Today the console and the query router talk to the e6data control plane (and the log and metrics collector, which is on by default in e6data's install). Query engine pods never leave your cloud account: they reach your storage and catalog only. The console also downloads its query-history extensions from a third-party host (`extensions.duckdb.org`) at start-up, over plain HTTP on TCP 80 as well as 443 (see [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md)).
* `NO_PROXY` must include cluster, VNet and metadata addresses (see Troubleshooting below).
* Denied hosts must be rejected at once (HTTP 403 or TCP reset), not dropped silently.
* TLS inspection with your CA: the CA certificate must include a Subject Key Identifier extension.

| Item | Azure |
| - | - |
| Console through an explicit proxy | Console calls work through a proxy, but the whole deployment doesn't (see Limitations) |
| Proxy as the only route out | Not supported today |
| Firewall-based egress (FQDN allow-list, transparent) | Supported |
| TLS inspection, e6data hosts exempt | Recommended setup |
| TLS inspection of e6data traffic with your CA | Console only, through the `trustedCABundleSecret` setting. Exempt the other e6data traffic from inspection |

## Steps

1. Use firewall-based egress: route `0.0.0.0/0` from the AKS subnet to your firewall and allow the destinations on [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md).
2. If your firewall inspects TLS (for example Azure Firewall Premium), put these in an application rule without TLS inspection: the e6data control plane, the e6data release host, and the container registries e6data pulls from (or mirror the images into your registry).
3. Keep all other traffic inspected.

The console CA setting (`trustedCABundleSecret`) is not specific to AWS. The operator applies it the same way on Azure. It covers the console's own connections. If node image pulls also pass through inspection, the nodes need your CA too (AKS custom CA). Microsoft notes that a node custom CA is not available inside pods.

## Preflight check

* Proxy: from a host in the node subnets, `curl -x http://<PROXY_HOST>:<PORT> -sS -o /dev/null -w '%{http_code}\n' https://<CONTROL_PLANE_HOST>/` returns an HTTP code.
* Proxy denies: `curl -x http://<PROXY_HOST>:<PORT> -m 10 https://example.com/` returns 403 at once, not a timeout.
* CA: `openssl x509 -in <your-inspection-ca>.pem -noout -text | grep -A1 'Subject Key Identifier'` prints a value.

## Verify

1. Your proxy log shows `CONNECT <CONTROL_PLANE_HOST>:443` from the console.
2. The workspace shows **Running** in the e6data console.
3. After a console restart, the new pod becomes Ready. Its logs show no `x509` or `certificate signed by unknown authority` errors.
4. From a pod with the console's labels, a direct request to the internet times out. The same request through the proxy succeeds.
5. Resume a cluster and run a query from the e6data console. It appears in Query History.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Query history is degraded behind a firewall | The query-history extension download is blocked | Allow the query-history host on TCP 80 and 443 ([Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md)). If you block it, reject it at once (HTTP 403) |
| Console can't reach the Kubernetes API or its credentials | `NO_PROXY` misses the service range or the Azure metadata address `169.254.169.254` | Add them |
| Console rejects your CA | CA lacks a Subject Key Identifier | Use a CA with that extension (corporate CAs normally have it) |
| `x509: certificate signed by unknown authority` | CA secret missing or not referenced | Check the secret name in `trustedCABundleSecret` |

## Limitations

* Explicit-proxy-only egress: Not supported today. Nodes added by the e6data node provisioner don't get proxy settings, and some components connect directly. Use firewall egress.
* TLS inspection of e6data traffic with your CA: covers the console only. Exempt e6data hosts from inspection for the other components.

## See also

* [Network requirements](https://docs.e6data.com/platform/deploy/azure-cloudprem/network-requirements.md)
* [Private-only deployment](https://docs.e6data.com/platform/deploy/azure-cloudprem/private-only-deployment.md)
* [Hardened reference architecture](https://docs.e6data.com/platform/deploy/azure-cloudprem/reference-architecture-hardened.md)
* [Data that leaves your network](https://docs.e6data.com/platform/trust/data-that-leaves-your-network.md)
* [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.