Metabase outbound traffic, proxies and firewall rules

A self-hosted Metabase needs outbound access to the license token service on port 443, and in many enterprises that path crosses a proxy or inspection layer. This page explains what to allow, how to point the Java runtime at your proxy and where Zscaler setups break.

On this page

Metabase outbound traffic, proxies and firewall rules: what your network must allow

A self-hosted Metabase instance on a commercial edition needs outbound port 443 to the token check IP addresses listed in Metabase's documentation. If your organization routes outbound traffic through a proxy, the Metabase server must send its license check through that proxy. Security and network teams should approve this egress rule before the instance goes live, because a blocked check affects whether the commercial license can be validated.

The traffic is a small outbound call from the Metabase server to the license token service. It is not a data channel: the warehouse queries, dashboards and saved questions stay on your network and are not part of this check. Confirm the current token check addresses in the activation documentation at the time of approval, since your firewall rule should match that list rather than a range you assume. Teams usually need this work in three situations: they run a commercial edition, their egress policy allows web traffic only through a proxy, or their network performs TLS inspection on outbound HTTPS.

On the Java side, the proxy is configured with -Dhttps.proxyHost and -Dhttps.proxyPort on the JVM, or with JAVA_TOOL_OPTIONS when Metabase runs in a container. Platform teams should set these in the same place they manage other secrets and runtime settings, and test the check after every change. Zscaler deployments need particular care: Metabase's license activation guidance says Zscaler must not act as a proxy or DNS for the Metabase server, and its root CA must not be installed for all sites, because the JVM will then reject the certificate. Ask your security team whether a bypass rule for the Metabase server can be scoped to the token service, and confirm the exact approach with Metabase before you request it.

The open source edition is licensed under the AGPL and does not depend on the token check, so a team running only open source Metabase can skip this approval. Document that decision in the architecture record, along with the edition in use and any future plan to move to a paid plan. Reviewing the activation documentation before the firewall change request keeps the rule, the proxy settings and the test plan aligned.

Outbound routing options and when each fits

This table compares four ways a self-hosted Metabase can reach the license token service: direct egress, a Java proxy, proxy settings for containers, and a firewall IP allowlist. Read each row for the situation it suits, who on the network side owns it, and the failure you are most likely to see first.

OptionBest fitNetwork-side ownerMain failure mode
Direct egressHosts with unrestricted outbound HTTPS on port 443 and no inspection layerFirewall or cloud network team confirms port 443 is open to the token check addressesBlocked by a default-deny egress policy that nobody tied to the Metabase server
Java proxy with -Dhttps.proxyHost and -Dhttps.proxyPortMetabase runs as a JAR on a VM where the JVM start options are under your controlProxy administrators who must allow the Metabase host and the token check addressesProxy settings applied to the wrong process, or the proxy refuses the CONNECT request to port 443
JAVA_TOOL_OPTIONS in containersDocker or Kubernetes deployments where the image is run without editing the JAR launch commandPlatform team managing container environment variables plus the proxy administratorsVariable set on the wrong container or pod, so the JVM ignores the proxy in production
Firewall IP allowlist for token check addressesEnvironments that allow only explicit destinations and do not want a proxy in the pathFirewall team, who must track the addresses listed in the Metabase documentationAddresses change or are copied incompletely, so activation fails only after a restart or re-check
Inspection proxy such as Zscaler in the pathOrganizations that route all web traffic through a managed cloud security serviceSecurity operations team, who must exempt the Metabase server from proxy and DNS inspectionRoot CA added for all sites causes the JVM to reject the certificate

How to set up proxy and firewall access for the token check

This sequence confirms that your deployment needs the commercial token check, opens the outbound path through your network controls, points the Metabase JVM at your proxy, and proves activation from the admin settings and logs. Each step ends with a check so that a failed connection is found before it reaches users.

  1. Confirm the commercial edition and token check need

    The network owner and the Metabase administrator confirm which edition is deployed and whether it requires activation through the token check. Open source installs with no commercial token do not need this path, while Pro, Enterprise and other commercial deployments do. Record the edition, the Metabase version and the host or container that will make the outbound call. Done when the team agrees in writing which hosts need the rule and no one is relying on an assumption about the license.

  2. Retrieve the current token check addresses

    The network team obtains the token check IP addresses from the current Metabase license activation documentation, not from a copied list in a ticket or wiki. Confirm the addresses with your Metabase account contact if your own policy requires vendor confirmation. Store the source link, the date you checked and the addresses in your change record, because the list can change. Done when every address in the change record matches the current documentation.

  3. Open outbound port 443 in firewall and proxy policy

    The network and security team creates an outbound rule that allows the Metabase host, or the proxy it uses, to reach the listed addresses on TCP port 443. If traffic goes through a proxy, the rule belongs in the proxy allowlist and in the host firewall, and the path must not depend on inbound access. Test from the Metabase host with a basic connection test to one listed address on port 443 before changing Metabase. Done when the connection test succeeds from the same host and network segment that runs Metabase.

  4. Set proxy properties for the JVM or container

    The Metabase administrator sets the proxy host and port for the JVM by adding -Dhttps.proxyHost and -Dhttps.proxyPort to the Java options in the JAR launch command or service file. In containers, the same values go into JAVA_TOOL_OPTIONS in the container environment, using the values your proxy team provides. Keep these values in the same secret or configuration store used for other deployment settings, so they survive restarts. Done when the running process shows the flags in its arguments or environment.

  5. Check certificate and DNS handling in Zscaler environments

    If your organization routes traffic through Zscaler, the security team confirms that Zscaler is not acting as a proxy or DNS resolver for the Metabase server, and that its root CA is not installed to trust all sites in the Java trust store used by Metabase. Without this, the JVM can reject the certificate presented on the token check connection. Ask the Zscaler administrator to create a bypass for the required destinations if policy allows it. Done when a test call from the Metabase host to the token check completes with a valid certificate chain.

  6. Restart Metabase and watch the startup log

    The administrator restarts the Metabase process or container so the new Java options take effect. Watch the startup log for any messages about failed connections, certificate errors or timeouts related to the license service. Keep the previous launch command or environment file available so the change can be reversed. Done when Metabase starts cleanly and the log has no connection or certificate errors from the activation attempt.

  7. Verify activation in admin settings and logs

    The administrator signs in to the Metabase admin settings and checks the license or activation section to confirm that the token is accepted and the edition shows as activated. Review the application log for the activation request to confirm it reached the token check and returned a success. If activation fails, compare the log message with the firewall logs and the proxy logs to find which hop rejected the call. Done when the admin settings show the expected edition as activated and the logs confirm a successful check.

  8. Document the rollback path

    If the change causes an outage or activation fails, the administrator removes the proxy flags from the launch command or environment, restarts Metabase, and the network team removes or disables the new firewall rule. Confirm rollback in a test window before production changes so the team knows the steps work. Record the rollback steps, the owners and the recovery check in the change record. Done when a rollback has been rehearsed and the rollback steps are stored with the deployment documentation.

Where Zscaler setups break the Metabase JVM

The network team owns the path from the Metabase server to the license token check. The documented Zscaler rule that matters most here is that Zscaler must not act as a proxy or DNS for the Metabase server. If the Metabase host resolves names or sends traffic through Zscaler's proxy layer, the outbound connection the JVM makes can be rewritten in ways Metabase does not expect. Confirm the server's resolver and its outbound route before anyone changes the Java proxy settings, because a proxy set inside the JVM and a proxy enforced by the network can conflict.

  • Resolver path: Check which DNS servers the Metabase host uses and confirm none of them is a Zscaler-managed resolver for this server.
  • Route exception: Ask whether the Metabase server sits in a Zscaler bypass group, and get the group name in writing.
  • Port 443 egress: Confirm outbound port 443 is open from the server to the token check addresses listed in the Metabase activation documentation.
  • Proxy consistency: Compare the proxy host and port in -Dhttps.proxyHost and -Dhttps.proxyPort with what the network actually enforces.
  • Change record: Require the Zscaler administrator to log every policy change that touches this host.

Before sign-off, test the token check from the Metabase host itself, not from a workstation, and record the result.

Security considerations for allowing Metabase egress

Opening outbound 443 from the analytics host creates a new path out of a server that holds database credentials and business data. The cards below cover the controls that keep that path narrow, auditable and managed with the rest of the deployment.

Trust boundary of the analytics host

A Metabase server holds connection details for your data warehouses and application database, so outbound access from it is a route from sensitive systems to the internet. Treat the host as a higher-trust workload than a generic web server. Confirm which hosts can reach it inbound, which can reach it outbound, and that the license check is the only outbound need you have approved. Document the exception in your network policy so reviewers can see why the rule exists.

Activation docs

Limiting destinations to documented addresses

Allow outbound port 443 only to the token check addresses listed in the Metabase documentation, and resolve them from the vendor's current page at the time you write the rule. Avoid wildcard destinations and broad any-to-any egress from the analytics subnet. Ask your network team to confirm whether the firewall filters by IP or by domain, since a rule written against a changed address set will fail silently until the license check runs again.

Proxy credentials and logging

If traffic must pass through a corporate proxy, store any proxy username and password in your secrets manager rather than in a unit file or image layer, and rotate them on your standard schedule. Ask the proxy team to log requests from the Metabase host so that failed license checks and unexpected destinations can be traced. Confirm that the proxy does not inspect or rewrite traffic in ways that break the JVM's certificate validation.

Outbound port
443

Avoiding broad CA trust changes

When a TLS-inspecting proxy re-signs traffic, the usual temptation is to add its root CA to the system trust store for every site. Metabase's guidance for Zscaler warns against trusting that root CA for all sites, because the JVM may then accept certificates it should reject. Scope any added trust to the Java truststore used by the Metabase process, document its fingerprint, and remove it when the proxy design changes.

Zscaler guidance

Proxy settings in change control

Keep the proxy host, port, JAVA_TOOL_OPTIONS value and any truststore path in the same secrets store, configuration repository and change process as the rest of the Metabase deployment. A proxy change made on one node but not another can produce intermittent license failures that look like application faults. Record who approved each rule, when it was tested and how to roll it back.

Reviewing the egress design with security

Ask your security team to review the egress design before it reaches production, including the destination list, the proxy path, the logging you will keep and who can change each setting. Confirm how the rule is retested after a firewall or proxy upgrade. Keep the review record with the deployment documentation so auditors can trace the decision to an owner.

How Metabase traffic flows to the token check through your egress path

The request starts in the Metabase JVM, which reads proxy settings from -Dhttps.proxyHost and -Dhttps.proxyPort or from JAVA_TOOL_OPTIONS when Metabase runs in a container. The request then passes through the corporate proxy or a Zscaler inspection layer before the firewall, which must allow outbound port 443 only to the token check addresses listed in the Metabase docs. The trust boundary sits at the firewall. Check each hop, because a Zscaler setup that acts as proxy or DNS for the Metabase server, or whose root CA is trusted for all sites, can cause the JVM to reject the certificate.

Metabase token check traffic leaving through the corporate egress path.

Limits to confirm before you change egress rules

Changing egress rules for a self-hosted Metabase touches the vendor, your network team and your edition terms at once. The cards below list what to confirm with Metabase and your network team before any proxy setting or firewall rule goes live.

Current token check addresses

Confirm the token check IP addresses and hostnames in the current Metabase license activation documentation before writing any allowlist. The documented list can change, so an address copied from a ticket or an old runbook may be stale. Ask Metabase which endpoints the commercial license check uses, and record the date you verified them so your change record shows what you allowed.

License activation docs

Proxy support for the traffic

Confirm that your corporate proxy can carry the outbound HTTPS request that Metabase makes from the JVM. Some proxies only handle browser traffic, require authentication the JVM cannot supply, or inspect TLS in ways the Java trust store does not accept. Ask your network team whether the proxy forwards this traffic on port 443 and whether it needs a bypass rule for the Metabase host.

DNS resolution of the endpoints

Check how the Metabase host resolves the token check hostnames from its own network segment. If your DNS resolver, split-horizon zone or cloud private DNS returns a different address than the public one, an IP allowlist built from public records will miss the real connection. Confirm the resolution path with the same resolver the Metabase process uses, not your workstation.

Air-gapped or no-internet requirements

Decide whether your environment must block all internet access, in which case outbound token checks are not an option and a different deployment path applies. Confirm with Metabase whether an air-gapped edition or offline arrangement fits your requirements before you open any egress path. Mixing a partial allowlist with a policy that forbids internet access creates an approval gap that auditors will ask about.

Edition and plan you run

Confirm which Metabase edition and plan you license, because the outbound settings and the license activation steps depend on it. The open source edition is licensed under the AGPL and needs no commercial token, while the commercial editions are governed by the Metabase Commercial Software License. Confirm your plan with Metabase in writing so the network change matches the license you actually hold.

Metabase pricing

Zscaler inspection and certificate scope

If your traffic passes through Zscaler, confirm with your security team and Metabase that Zscaler will not act as the proxy or DNS for the Metabase server. Also confirm that its root CA is not installed for all sites, because the JVM then rejects the certificate. Ask for a written exception scope before testing, so the bypass is limited to the Metabase host and the token check endpoints.

Questions teams ask about Metabase proxies and firewall rules

How much effort does it take to route Metabase through a corporate proxy?

The technical change is small, but the elapsed time depends on your change process. The Java settings themselves are a few properties, while most of the work is getting network and security teams to agree on an egress rule for the token check addresses, testing it from the Metabase host, and documenting it. The main drivers are how many approval layers your change board requires, whether the proxy already allows outbound port 443 to the listed addresses, and how many environments (test, staging, production) need the same rule. Ask your network team to confirm the expected lead time for firewall changes before you set a date. Metabase's own documentation does not give a duration for this work, so treat any timeline you receive as something to verify.

Can an internal team configure Metabase proxy settings without outside help?

In most organizations, yes. The configuration uses documented Java system properties, specifically -Dhttps.proxyHost and -Dhttps.proxyPort, or JAVA_TOOL_OPTIONS in containers, and the firewall rule is a standard outbound port 443 allowance. What usually needs outside help is the troubleshooting when TLS inspection or a secure web gateway sits in the path, because the failure often looks like a certificate error rather than a connection error. If your team has no one who has worked with inspecting proxies and Java trust stores, a partner can review the setup before go-live. DeployOpen plans and implements self-hosted platforms in your own infrastructure, so scope for this kind of review would be agreed in writing before work starts.

What does the network and security team need to provide?

Plan on three inputs from network and security staff: the egress path from the Metabase host (direct, through a proxy, or through a cloud gateway), the list of approved destination addresses and ports, and a decision on who owns the rule after go-live. The token check IP addresses are listed in Metabase's documentation, so confirm you are using the current list rather than an old copy. Security staff should also confirm whether any inspection service will decrypt traffic to that destination, because that determines whether the JVM needs a trusted root certificate. Ask them to record the rule with a business owner and a review date so it is not removed during a later cleanup.

Why does Zscaler cause the Metabase license check to fail?

Metabase's license activation guidance says Zscaler must not act as a proxy or DNS for the Metabase server, and its root CA must not be installed for all sites, because the JVM then rejects the certificate it receives. The failure usually shows up as a trust or handshake error in the Metabase logs when the license token check runs. The fix is a policy exception for the Metabase server and the token check destinations, so traffic bypasses inspection and DNS resolution stays with your normal resolver. Work with your Zscaler administrator to confirm how the exception is scoped, since policy names and options vary by tenant. Check the activation documentation before changing any root certificate settings.

How do Java proxy settings differ when Metabase runs in a container?

On a VM, you usually pass -Dhttps.proxyHost and -Dhttps.proxyPort directly to the java command. In a container, the same properties are set through the JAVA_TOOL_OPTIONS environment variable, which the JVM reads at startup, so you do not need to change the image entrypoint. Confirm that the container runtime, orchestrator or secrets tool passes that variable into the running process, and check the value after deployment. Also make sure the proxy host is reachable from inside the container network, not only from the host, and that NO_PROXY-style exclusions for internal services are handled in your environment. Metabase's activation documentation describes both approaches, so test the exact variable names against your Metabase version.

What changes when the token check IP addresses change?

Metabase lists the token check IP addresses in its documentation, and your firewall rule must allow outbound port 443 to those addresses. When the list changes, the rule has to change with it, or license activation and checks may fail. Treat the address list as an external dependency: subscribe to Metabase's documentation updates or review it on a fixed schedule, and keep the firewall change in your normal approval path so it can be applied quickly. Ask your network team whether rules are kept by IP address or by domain, since domain-based rules may need a different proxy or gateway feature. Also check the list during upgrades, because a version change is a natural point to confirm nothing else has moved.

Will outbound restrictions affect the air-gapped edition or an offline install?

Yes, the outbound rules described here apply to a connected self-hosted Metabase that contacts the token check service. If your environment has no internet access, you need a different path: Metabase offers an air-gapped edition, and its setup, offline upgrades and disabled outbound settings are covered separately. Do not copy the proxy settings into an air-gapped build as a workaround. Confirm with Metabase which edition and license arrangement applies to your network before designing the egress rules, because the requirements differ.

Which plan do I need to use the license token service?

Confirm this with Metabase before you design the network change. The supplied pricing facts list four plans (Open Source, Starter, Pro and Enterprise), and the paid plans differ in which features they unlock, including SSO and permissions features that the open source edition does not include. The activation documentation covers the commercial license, so the egress rules matter for the commercial editions. If you are evaluating whether to build the network change at all, compare the features you need against the Metabase pricing page and ask Metabase which edition and token setup match your environment.

What DeployOpen does on a proxy and firewall engagement

A fixed-scope engagement on this topic starts with egress design: a written map of every outbound path the Metabase server needs, which destinations it reaches, over which port, and which proxy or firewall policy governs each one. The license activation flow needs outbound port 443 to the token check IP addresses listed in Metabase's documentation, so the first deliverable is a reviewed list of those addresses, the owners of each firewall or proxy rule, and the change requests needed to open them. DeployOpen works with your network and security teams to produce that map and confirm which rules already exist, so the request you submit is narrow and easy to approve.

Next comes the configuration itself. For a JVM install, that means setting -Dhttps.proxyHost and -Dhttps.proxyPort in the service definition, and for containers, setting JAVA_TOOL_OPTIONS in the deployment manifest or compose file. DeployOpen tests the settings on a staging instance first, checks that proxy bypass rules for internal hosts are correct, and reviews the Zscaler position with your security team: Zscaler must not act as a proxy or DNS for the Metabase server, and its root CA must not be installed for all sites, or the JVM rejects the certificate. Where Zscaler is in the path, the work is coordination with the people who own that tenant, and the outcome is written down as a decision, not left as an assumption.

The engagement ends with verification and handover. DeployOpen confirms that the activation step succeeds from the production host, records the proxy and firewall settings with their owners, and hands over the egress map, the change record, the JVM and container configuration, and a short runbook for the cases that break later, such as a new firewall policy or a certificate rotation. Ask any provider to confirm in writing which of these artifacts they deliver, who retains access to the test results, and how they will be re-checked after your next Metabase upgrade.

How DeployOpen scopes and supports Metabase egress work

DeployOpen plans, configures and documents the outbound paths a self-hosted Metabase needs, inside your own network and under your own proxy and firewall policy. We agree the scope in writing first, then test each path from the Metabase server and hand over the rules, settings and evidence your network and security teams need to review.

How we scope

  • We inventory which outbound destinations your Metabase server must reach and which need a documented exception.
  • We confirm with your network team whether traffic goes through a proxy, a DNS resolver or a secure web gateway.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any change is made.

How we build

  • We set the Java proxy properties on the Metabase JVM, or JAVA_TOOL_OPTIONS in containers, and record each value.
  • We configure firewall rules for outbound port 443 to the token check addresses listed in Metabase's documentation, confirmed against current sources.
  • We review Zscaler or similar inspection policies so the server is excluded from proxy and DNS inspection and its certificate chain is trusted correctly.

How we hand over

  • We deliver a written record of every proxy setting, firewall rule, certificate change and the reason for each one.
  • We test license activation and token checks from the production network path and capture the results as evidence.
  • We document a rollback path and the steps to repeat the tests after a Metabase upgrade or a network policy change.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can re-run outbound connectivity tests when proxy, firewall or Metabase versions change, using the same written test plan.
  • We recommend your network and security teams confirm any destination changes with Metabase before editing rules.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.