Restricting Rocket.Chat outbound connections

Rocket.Chat can reach several cloud services from your network. This page explains which ones to allow, which to block, and what each block costs in features.

On this page

Restricting Rocket.Chat outbound connections without breaking the workspace

A self-hosted Rocket.Chat instance in a network that limits outbound traffic will still reach several cloud services, and each one supports specific features. The questions this page answers are which outbound services Rocket.Chat uses and which features disappear when a given service is blocked. Treat every allowed or blocked service as a feature decision, not a network detail, because the security team and the business owners of the workspace need to agree on that trade-off before a firewall rule changes.

The decision needs three written artifacts. The first is an allowlist of destinations, with the reason each one is permitted and the owner who approved it. The second is a feature-loss list agreed with the business, covering what users and administrators will no longer have for each blocked service, such as mobile push, Marketplace apps, Omnichannel gateway access and usage reporting. The third is a test plan that exercises each allowed and blocked path on the installed version, with pass and fail criteria. Without all three, a rule that looks safe on the network team's side can quietly break mobile notifications or app installs weeks later.

Confirm the endpoint list against the Rocket.Chat documentation for the exact version you run, because services and their use change between release lines and the platform's version support windows affect which cloud services keep working at all. This page does not list hostnames on purpose. Copy them from the current documentation and from your own proxy logs during testing, then review them again at each upgrade. Also check with your Rocket.Chat plan, since some cloud-connected capabilities depend on the paid tier you hold.

Outbound services and when each one is worth allowing

This table compares the five Rocket.Chat cloud-dependent services in scope for a restricted network: registration, Marketplace, push notifications, the Omnichannel gateway, and statistics and NPS. Read each row as a decision: what the service supports, when allowing it is justified, when blocking it is justified, and what to confirm with Rocket.Chat before you change the firewall. Air-gapped deployment is a paid-plan decision and sits outside this table.

ServiceBusiness case for allowingBusiness case for blockingConfirm with Rocket.Chat
Registration (workspace registration)Links the workspace to Rocket.Chat cloud services that other features depend on, and keeps the workspace eligible for cloud-linked functions.Registration data leaves the network and the workspace may not need any cloud-linked function, so the outbound rule can be removed.Which functions stop working if registration is blocked, and whether a blocked workspace can still receive version and security information.
Marketplace (apps and integrations)Lets administrators install marketplace apps directly from the workspace, which keeps app installs and updates in one controlled path.Apps can add code and outbound calls that your security team has not reviewed, so many teams prefer to install vetted packages from an internal source.Whether marketplace app downloads can be routed through an internal mirror, and how app updates and licensing checks behave when the endpoint is blocked.
Push notifications (mobile gateway)Mobile users receive alerts through the Rocket.Chat push gateway, which relays notifications to Apple and Google services.Notification metadata passes through a third-party gateway, which may conflict with data handling rules. Users then rely on in-app checks, which slows response.Which push data the gateway sees, whether ID-only push is available on your plan, and how push behaves on a network that blocks the gateway.
Omnichannel gateway (messaging channels)Needed for Omnichannel features that connect external messaging channels to the workspace through Rocket.Chat's gateway.External channel traffic routed through a vendor gateway adds a data path that needs a separate review. Teams with only internal chat gain nothing from it.Which channels depend on the gateway, which can be served from your own infrastructure, and what breaks for customers if the gateway is blocked.
Statistics and NPS (usage reporting)Allows usage statistics and satisfaction survey data to reach Rocket.Chat, which can help the vendor support your version.Usage data leaves the environment and is rarely needed for daily operation. Blocking it is a common choice for regulated networks.Which fields are sent, whether the setting can be disabled separately from other cloud services, and whether disabling it affects support or upgrade guidance.
Paid-plan capabilities (air-gapped deployment)Air-gapped deployment removes the need for most outbound endpoints but is a paid-plan capability and not available on the free Starter plan.Not applicable to a standard connected deployment. Choosing it changes the whole network design rather than one firewall rule.Treat this as a separate licensing and architecture decision, and confirm the plan requirements against the current pricing and plans documentation.

How Rocket.Chat servers and clients reach outside services

The diagram starts with a user's browser or mobile and desktop client, which reach the Rocket.Chat server through the reverse proxy inside the trust boundary. The Rocket.Chat server reads and writes MongoDB and, through the egress firewall or proxy, reaches the external groups for registration, Marketplace, push, Omnichannel gateway, and statistics and NPS. Client traffic to the server is required for the apps, while the outbound paths are optional and can be allowed or blocked one by one. Check each path against the features you need and the version support window before you change the firewall rules.

Client traffic stays inside the boundary, while each outbound group is a separate, optional allow decision.

Which features stop working when each service is blocked

Each Rocket.Chat cloud service supports a different part of the product, so blocking one has a different effect on users and admins. The cards below describe the user-visible effect and the admin task for each family. Confirm every behavior in a staging instance before you block anything in production.

Marketplace app installs and updates

Marketplace lets administrators install and update apps from the Rocket.Chat catalog. With the Marketplace endpoint blocked, admins may be unable to browse, install or update apps, and existing apps may stop receiving updates. Decide whether your team will install apps by hand from approved packages and who owns that review. Check which installed apps still load after the block, and record the result in your change log.

Version durability docs

Mobile push notifications

Mobile push relies on the Rocket.Chat push gateway, which passes notifications to Apple and Google services. If the gateway is blocked, users on iOS and Android may stop receiving alerts for new messages, even though the desktop and web clients still work. Ask your mobile users how they rely on alerts, and decide whether a policy of checking the app manually is acceptable. Test one device on each platform in staging before you change the production rules.

Omnichannel customer messaging

Omnichannel depends on cloud integrations for some messaging channels and gateways. Blocking those endpoints can stop customer conversations from arriving through the affected channels, so customer service queues may go quiet without a visible error. Identify which Omnichannel channels your teams use, then send a test conversation through each one with the block in place. Document the fallback for customer contact before the change goes live.

Registration and workspace linking

Registration connects a self-hosted workspace to Rocket.Chat's cloud services. Blocking it can stop a workspace from completing registration or linking, which may limit access to services that depend on that link. Confirm the registration state of your workspace before the change, and note the admin setting that controls it. Re-check the status after each network change, since a stale link can look healthy until a feature needs it.

Statistics and NPS reporting

Statistics and Net Promoter Score surveys send usage data and survey responses to Rocket.Chat. If these endpoints are blocked, the product may stop sending telemetry and survey prompts may fail, while chat itself keeps working. Decide whether your data handling policy allows this data to leave your network, and record that decision for your compliance reviewers. Verify in staging that messaging, file sharing and admin pages behave normally with reporting turned off.

Client compatibility after end of life

Official mobile and desktop clients depend on the server version staying in support. Rocket.Chat says unsupported versions may lose the ability to connect with these clients, so an outdated server becomes a risk even when cloud endpoints are open. Track your version against the support windows for standard and LTS releases, and plan upgrades before end of life. Test the mobile and desktop clients against your target version in staging before each upgrade.

Version durability docs

Why cloud service access depends on a supported version

An allowlist for Rocket.Chat cloud endpoints is only valid for the version it was written against. Standard releases are supported for 6 months and LTS releases for 12 months, and once a version reaches end of life it receives no security or bug fixes. Cloud services sit on the same clock. The push notification gateway, Marketplace and Omnichannel integrations stop working after end of life, so a workspace can run an older build that still loads, yet lose the outbound paths those features depend on. Confirm your current line's end-of-life date against the Rocket.Chat version durability documentation before you finalize any firewall rule.

The failure often appears after a change, not during the initial build. An upgrade can add or rename the hosts a feature calls, and a line that expires can break features that worked on the day the allowlist was approved. Treat the allowlist as a versioned artifact: record the Rocket.Chat version it was tested against, the date, and the hosts each blocked feature needs. Then repeat the check at every upgrade and at every planned end-of-life date, and run each cloud-dependent feature (push, Marketplace, Omnichannel integrations) after the change rather than trusting that unchanged rules still work.

Unsupported versions carry a second cost. Rocket.Chat says that unsupported versions may also lose the ability to connect with the official mobile and desktop clients, so a stale server can strand users even when the network rules are correct. Ask your team to confirm which client versions your current server line supports, and include client rollout in the same upgrade window as the allowlist review. Regular upgrades are therefore part of operating a restricted deployment, and the cost of keeping the allowlist current should be included in any plan that assumes a locked-down network.

Setting up an allowlist-based egress policy

This sequence turns the list of cloud endpoints your Rocket.Chat instance calls into firewall or proxy rules that are tested in staging before production. It ends with a rollback procedure and an upgrade checklist entry so the policy survives version changes.

  1. Record the running version and its support end date

    The platform owner records the exact Rocket.Chat version in production and staging, along with its release line and published end-of-life date from the version durability documentation. Standard and LTS lines have different support windows, and after end of life cloud services such as the push gateway, Marketplace and Omnichannel integrations stop working, so this date sets how long the egress policy must stay valid. Output: a short version record in the change ticket. Confirm the end date against the live documentation, not a copy in an internal wiki.

  2. Inventory every outbound destination

    The platform engineer lists every external host the instance contacts by reading the documentation for that exact version, then confirms the list by watching outbound connections from the staging instance over a full test cycle. Expect entries for registration, Marketplace, push notification gateway, Omnichannel gateway, statistics and NPS, plus any identity provider, email relay, OAuth or video services you have enabled. Observed traffic often includes hosts the docs do not name, so each one needs a written owner. Output: a destination register with the feature that triggers each host.

  3. Decide each service with its business owner

    Each destination is reviewed with the owner of the feature it supports, such as the workspace administrator for Marketplace apps, the mobile program owner for push, and the customer service lead for Omnichannel. For each one the group records allow, block or allow for a limited scope, and the feature that will be lost if it is blocked. Security and compliance sign off on data sent to each endpoint, including whether message text or identifiers leave the network. Output: a signed decision table that names the feature trade-off for every blocked host.

  4. Write the egress rules at the firewall or proxy

    The network team translates the approved register into rules at the firewall or forward proxy, with one rule per destination, a named owner, a comment linking it to the decision record, and a default deny for everything else. Rules are written against the hostnames and ports the version uses, and any DNS or TLS inspection requirements are noted, because inspection can break certificate validation for some clients. Output: a versioned rule set committed to the infrastructure repository.

  5. Apply the rules to a staging instance

    The rule set is applied to a staging instance that matches production configuration, and the team checks that approved services still work while blocked ones fail in the expected way without breaking unrelated features. Verification includes sending a test message between two users, confirming that a push delivery test reaches a mobile client that has the app installed, installing a Marketplace app from the admin console, and reviewing the statistics and NPS admin setting to confirm its state matches the decision. Output: a dated test log with pass or fail for each check and each blocked feature confirmed as failing as documented.

  6. Promote the policy and monitor denied traffic

    After staging passes, the same rule set is applied to production in a scheduled change window, and denied outbound requests are logged and reviewed so unexpected dependencies are found early. The administrator confirms that users report the expected behavior and that the Rocket.Chat admin view shows no repeated failed calls to permitted hosts. Output: a production change record and a log review entry with the date of the first review.

  7. Document the rollback procedure

    The team writes a rollback that restores the previous rule set, lists the commands or change steps in order, names who can execute it, and states the verification to run afterward, such as a test message and a push test. The rollback is rehearsed on staging so the steps are known to work before an incident. Output: a rollback runbook linked from the change record.

  8. Add the policy to the upgrade checklist

    The egress register and rule set become a required item in every Rocket.Chat upgrade checklist, because new releases can add or change external endpoints. Before each upgrade the team repeats the inventory step against the target version, updates the register, and reruns the staging checks. Output: an upgrade checklist entry that references the register, the staging test log and the rollback runbook.

Choosing a network posture: open, allowlisted or air-gapped

Open egress leaves every Rocket.Chat cloud service reachable from the server and the clients. It is the simplest posture to run and needs the fewest configuration changes. It suits teams with standard internet access, no rule against outbound calls, and a need for push notifications, Marketplace apps and Omnichannel integrations to work without exceptions.

  • Full feature set: Registration, Marketplace, push through the gateway and Omnichannel integrations work without firewall exceptions.
  • Data leaves the network: Each cloud call sends some data to Rocket.Chat-operated services, so the team must document what is sent and why.
  • Review still needed: Outbound traffic from the server and from mobile and desktop clients should appear in the data flow diagram that the security team signs off.
  • Version currency: Cloud services stop when a version reaches end of life, so the upgrade schedule becomes an operational dependency rather than a background task.

Before choosing this posture, check whether your security policy permits outbound calls to these services by default and whether a documented data flow review accepts them.

Security risks of an open egress path

Every outbound connection from a Rocket.Chat server is a path that data, credentials or traffic can use to leave your network. The cards below set out the risks a security reviewer will ask about, and each one points to a decision you can make and a check you can run before opening a rule.

Data leaving through an integration

Outgoing webhooks, apps and integrations can send message content to hosts outside your network. A broad allow rule for a single vendor can therefore become a route for room content to reach systems your data handling policy never approved. Before allowing any endpoint, list which integrations are enabled, which rooms they read, and which hosts they call. Confirm that each destination is one your review has accepted.

Push payloads carrying message text

Mobile push notifications pass through Apple, Google and the Rocket.Chat push gateway. If message text is included in the payload, that text leaves your infrastructure through the gateway path. Allowing the push endpoint is therefore a data decision as well as a connectivity decision. Confirm which notification content setting is active and whether your compliance reviewers accept content passing through those services.

Third-party apps reaching internal systems

Marketplace apps run code and make requests that can reach internal services if the server can route to them. An app installed by an administrator may call a database, an internal API or a metadata endpoint on your network. Limit the server's ability to reach internal address ranges, and review each installed app's declared network needs against the systems it is allowed to touch.

A compromised instance calling out

If an attacker gains control of the Rocket.Chat process, one of the first things they try is a connection to an external host for command, data transfer or download of tooling. Unrestricted egress makes that step easy. A default-deny egress policy with a short, documented list of permitted destinations turns unexpected connections into events you can see. Ask your team to test whether the server can reach an arbitrary external host that is not on the list.

Auditing traffic under broad rules

When an allow rule covers a wide address range or a whole cloud provider, the firewall log shows that traffic was permitted but not what it carried. Reviewers then cannot tell a registration check from an upload. Prefer rules scoped to named hostnames or fixed addresses where the vendor publishes them, and record the owner and reason for each rule so that an audit can match traffic to a business purpose.

Logged proxy or firewall decisions

A reviewer will ask for evidence that outbound decisions are enforced and recorded. An egress proxy or firewall that logs each allowed and denied connection, with source, destination and time, gives your security team that evidence and a way to spot new destinations. Confirm that logs are retained for the period your policy requires and that someone reviews denied connections regularly.

Questions teams ask before restricting outbound connections

How much effort does building an outbound allowlist for Rocket.Chat take?

The effort depends on how many cloud-backed features you use, how long your network team takes to approve and apply firewall or proxy changes, and how much testing you need before cutover. A workspace that only needs core messaging has a short list to review. A workspace that also uses push notifications, the Marketplace, Omnichannel and statistics reporting has more endpoints to verify, more owners to consult and more test cases to run. Ask any partner to break the work into feature review, network change, staging tests and production rollout, and to state which parts are included in the written scope.

Can our own team restrict Rocket.Chat outbound connections without a partner?

Yes, for a small number of services. A team with Linux and network skills can review the feature list, set the endpoints it needs, and test them in a staging instance using the Rocket.Chat version documentation. The work gets harder when several features depend on each other, when the network team needs formal change approvals, or when you must prove the configuration to a security reviewer. In those cases, a partner can document the decisions and test scope, but your team still owns the firewall rules and the running system.

What does our team need to provide for the allowlist work?

You need four things: a network owner who controls firewall, proxy and DNS changes, a Rocket.Chat administrator who can change server settings, a named owner for each feature you plan to keep (such as push, Marketplace or Omnichannel), and a change window that allows testing and rollback. Without a named feature owner, decisions about which blocked features are acceptable tend to stall. Confirm these roles early so the network team's lead time is not spent waiting for answers about which endpoints matter.

What happens to the allowlist when we upgrade Rocket.Chat?

Each upgrade can change which cloud endpoints the server calls, so the allowlist should be reviewed as part of every upgrade plan. Read the release notes for the target version, retest the features you depend on in staging, and update firewall rules before production cutover. Also check the version support window, because versions past end of life stop receiving security fixes and lose access to cloud services such as push and Marketplace. Track this with your patching process rather than treating the allowlist as a one-time task.

Can we re-enable a blocked Rocket.Chat service later?

Usually yes, but the process is a change, not a switch. Add the endpoint back to the allowlist, confirm the Rocket.Chat setting that uses it is enabled, and test the feature in staging before production. Document why it was blocked, who approved the reversal and what data will leave the network when it is enabled. Some features, such as push notifications for mobile clients, may need client-side checks as well. Ask the vendor or partner to confirm the exact dependencies for each feature before you plan the change.

What should a quote for restricting outbound connections include?

DeployOpen does not publish a price list. A quote follows from a written scope, so ask for the scope to list each feature reviewed, each endpoint decision, the staging test cases, the production change plan, the rollback steps, the documentation delivered and the upgrade review process. Ask which items are one-time and which recur, such as retesting after each upgrade. Confirm who performs firewall changes, who signs off on blocked features and what is excluded. Cost is quoted from that written scope, and no price is stated on this page.

Which Rocket.Chat features are lost when outbound connections are blocked?

The answer depends on which endpoints you block, and the feature list should be confirmed against your Rocket.Chat version and plan. Features that rely on cloud services, such as the push notification gateway, Marketplace and Omnichannel integrations, can stop working when their endpoints are blocked. Core messaging inside your own infrastructure is generally not affected, but confirm this in staging. Make a feature-by-feature table with the owner, the business impact and the decision for each one before any firewall change is made.

Limits and facts to confirm in your environment

Each item below changes which endpoints you can allow, which features survive, and what you must pay for. Confirm them against your installed version and plan before you write firewall or proxy rules, because a rule that looks correct for one release line can break a feature on another.

Exact endpoint list for your version

The set of cloud hosts a Rocket.Chat server contacts can change between releases, so a list copied from an older guide may be incomplete or include hosts you no longer need. Pull the endpoint list for the exact version you run from the vendor documentation, then confirm it on a staging server by watching outbound connections while you exercise each feature. Record the version next to the list so a future upgrade triggers a review.

System requirements

Plan entitlements for each feature

Some cloud-backed features depend on your plan, not only on network access. Starter, Commercial, Government and Defense plans differ, and a feature you expect may be absent or priced separately. Ask the vendor in writing which plan includes each feature you intend to keep, and whether multi-instance or microservice designs need a paid plan before you commit to a firewall design.

Rocket.Chat plans

Proxy and firewall protocol support

Some outbound connections use long-lived or non-standard protocols, and a forward proxy may only inspect plain HTTP or rewrite headers in ways that break them. Test each allowed destination through your actual proxy or firewall, not just a direct connection. Confirm that the device permits the protocol, honors the required timeouts and does not perform TLS interception on hosts that pin certificates.

Push delivery and mobile client settings

Mobile push depends on how your server is configured to reach the push gateway and on how users have set their clients. Whether message content travels through the gateway, and which settings control that, depends on your version and push options. Check the push configuration in the admin console on staging, send test notifications to iOS and Android devices on your network, and confirm delivery before you lock the rules down.

MongoDB and file storage access

Rocket.Chat depends on a MongoDB replica set and on a file storage backend, and neither should normally need outside access from the internet. Confirm where your database and object or file storage run, whether any managed service requires an outbound endpoint, and which hosts must stay reachable only from the internal network. Mixing these with cloud service rules can open paths you did not intend.

System requirements

Single-instance or multi-instance architecture

The reference architecture you run determines both the connections your servers need and whether your plan must support it. A single instance with a replica set has a different footprint from load-balanced instances linked by NATS, and microservices on Kubernetes add more internal paths. Identify your architecture now, because the multi-instance and microservice designs require a paid plan and change which internal and external addresses must be allowed.

Reference architectures

How DeployOpen scopes and delivers outbound restrictions

DeployOpen plans, implements, hardens, documents and supports self-hosted Rocket.Chat inside your own infrastructure, including the network controls that decide which Rocket.Chat cloud endpoints stay reachable. The work starts with a written scope that names each external service, the features affected by blocking it, and the owner who accepts that trade-off.

How we scope

  • Inventory every outbound service your Rocket.Chat instance calls, including registration, Marketplace, push, Omnichannel gateway and statistics.
  • Map each blocked endpoint to the features it affects, so business owners approve losses before any firewall change.
  • Confirm your Rocket.Chat version and release line, since end of life versions lose cloud services regardless of network rules.

How we build

  • Apply egress rules at the network layer and reconcile them with the settings in the Rocket.Chat administration console.
  • Test each allowed and blocked path from the server, the web client and the mobile clients to confirm expected behavior.
  • Record the configuration as code or reviewed change records so later changes can be traced and reversed.

How we hand over

  • Deliver a written endpoint register with purpose, owner, allowed direction and the features that depend on each entry.
  • Document the runbook for adding or removing an endpoint, including the review step and the rollback path.
  • Walk your platform and security teams through the setup so they can review changes against the register.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer if your Rocket.Chat version or endpoints change.
  • Ask for a quote based on the written scope, since DeployOpen does not publish a price list.

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.