Network and firewall requirements
What to allow on your network for each kind of AO, required rules first.
What your network needs to allow so AO works, for AO in the cloud, AO for government, self-hosted AO and AO OnBoard. Pass this page to the team that manages your firewall, proxy and allowlists.
- AO in the cloud or AO for government: allow
443/TCPfrom users' browsers toao.terradepth.comorgov.terradepth.com, without TLS inspection. That's the only rule AO needs, plus your sign-in provider if you sign in with Microsoft or Google. - Self-hosted AO or AO OnBoard: let the computers that use AO reach your AO server on
443/TCP(HTTPS) or8888/TCP(HTTP), and block other inbound ports. The server needs no internet access to run. - No internet access at all: ask for an air-gapped build, and allow nothing outside your network.
The other rules on this page each serve one feature: allow them only for the features you use.
AO in the cloud and AO for government
Allow outbound from users' browsers:
| Allow | Port | When |
|---|---|---|
ao.terradepth.com (AO in the cloud) or gov.terradepth.com (AO for government) |
443/TCP |
Always |
login.microsoftonline.com (Microsoft) or accounts.google.com (Google) |
443/TCP |
Only if you sign in with Microsoft or Google |
Exempt the AO host from TLS inspection and browser isolation. Proxies that inspect or decrypt TLS slow AO's many requests and hold back its live updates, so users see slowness, progress that stops updating, and services reported as unavailable. Your tools may call this an SSL-inspection bypass, a decryption exemption or "direct access". Only the AO host needs it. If the allow and the exemption are approved separately, the allow alone gets users started.
AO uses HTTPS only, with no WebSockets. Unzip progress streams over a long-lived response with a heartbeat at least every 10 seconds: proxies must not buffer these responses or cut long-lived connections.
AO emails invitations and password reset links, so make sure your mail gateway accepts AO's mail. For the sending address, contact support@terradepth.com.
Self-hosted AO and AO OnBoard
The advice above on TLS inspection and long-lived connections applies to your AO server too. With single sign-on, users' browsers must also reach your sign-in provider: login.microsoftonline.com, accounts.google.com or your own.
Allow inbound from the computers that use AO:
| Port | For | When |
|---|---|---|
443/TCP |
AO over HTTPS | Once HTTPS is set up on the server. See HTTPS in Administering AO |
8888/TCP |
AO over HTTP, or from your own TLS proxy | Unless everyone uses HTTPS: HTTP stays on, with no redirect. With a proxy, allow it only from the proxy |
80/TCP from the internet |
Let's Encrypt certificates | Only with Let's Encrypt, when a certificate is issued and at each renewal |
3389/TCP, to the processing workstation |
Remote desktop | AO OnBoard, if people use the workstation from other computers |
Allow no other inbound ports, apart from your own administration access such as SSH and any Remote support rules below. Docker publishes the ports of AO's internal services on every network interface, and ufw or firewalld rules on the server don't block them. Block them on a firewall in front of the server or in Docker's DOCKER-USER chain, then check with a port scan from another computer.
The AO server needs no outbound access to run: upgrades come as a complete release folder, with no container registry, and the server's operating system handles time sync and DNS. Allow outbound only for the features you use:
| Feature | Allow outbound to |
|---|---|
Your mail server, 465/TCP or 587/TCP |
|
| Single sign-on | 443/TCP to login.microsoftonline.com and graph.microsoft.com (Microsoft), oauth2.googleapis.com and openidconnect.googleapis.com (Google), or your own identity provider |
| Cloud mounts | Your storage: 443/TCP for S3, Google Cloud Storage, Azure or Google Drive, 22/TCP for SFTP, 445/TCP for SMB, and 21/TCP plus the server's passive ports for FTP. You can change the ports to match your storage |
| Remote Sync, or a cloud mount to another AO | The other AO's address, such as 443/TCP for AO in the cloud. A proxy in the way must not buffer or cut its long-lived responses |
| External layers | Each layer's host: AO checks a layer from the server when someone adds it, and while an animated layer is on |
| HTTPS certificates | Let's Encrypt: 443/TCP to acme-v02.api.letsencrypt.org, when a certificate is issued and at each renewal. Tailscale: see Remote support, below |
To reach a server on another network, such as a file server, AO OnBoard needs an address on that network as well as open ports. Terradepth sets this up with you.
Optional: online map layers and services
These apply to every AO. Allow outbound 443/TCP from users' browsers, with a normal allow: these hosts don't need a TLS inspection exemption. If one is blocked, AO still works without that feature.
| Host | For | If blocked |
|---|---|---|
api.cesium.com, assets.ion.cesium.com |
Global terrain and imagery | No global terrain or satellite imagery |
*.virtualearth.net |
The Aerial, Aerial+Labels and Roads+Labels basemaps | Those basemaps don't load |
www.google.com (only www.google.com/generate_204) |
AO's check for internet access | AO acts as if it's offline: see Troubleshooting, below. A proxy that answers with its own block page counts as online |
help.terradepth.com |
The Help Center link in AO | The Help Center doesn't open |
AO also comes with these map layers, off until a user turns them on. Allow the ones your users need:
| Host | Layer |
|---|---|
gis.charttools.noaa.gov |
NOAA Charts |
nowcoast.noaa.gov |
Weather Radar - NOAA nowCOAST Regions |
gibs.earthdata.nasa.gov |
NASA Terra Truecolor |
tile.openstreetmap.org |
OpenStreetMap Standard |
mapproxy.osm.ch |
Waymarked Trails Hiking Overlay |
Layers your organization adds load from their own hosts.
Remote support (only if your agreement includes it)
Some AO OnBoard and self-hosted systems are set up so Terradepth support can reach them, as your agreement describes. AO works without it, and air-gapped systems don't use it.
| Method | Rule | Used for |
|---|---|---|
| SSH | Inbound 22/TCP, plus 2222/TCP on AO OnBoard |
Command-line access to the server |
| Tailscale | Outbound 41641/UDP, with 443/TCP as a fallback |
Remote desktop and SSH |
| Cloudflare Tunnel | Outbound 7844/TCP and 7844/UDP |
HTTPS access to AO |
Tailscale and Cloudflare Tunnel connect out from your system, so they need no inbound rules. To ask what's set up on your system, contact support@terradepth.com.
Air-gapped networks
With an air-gapped build, AO needs no connection outside your network: imagery, terrain and basemaps come from your AO server, and AO never checks for internet access. Allow the self-hosted rules above inside your network, and block everything outside it. This is set when your AO system is built, so tell Terradepth before delivery. To check whether yours is an air-gapped build, contact support@terradepth.com. For HTTPS, use AO's own certificate authority (Appliance CA) or your organization's certificate: Let's Encrypt and Tailscale need internet access. See Using AO offline.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| AO doesn't load | The AO host is blocked or, for your own AO server, its port (443/TCP or 8888/TCP) |
| Microsoft or Google sign-in fails | The provider's sign-in host is blocked |
| Intermittent slowness, or services shown as unavailable while AO still works | TLS inspection or browser isolation on the AO host |
| Unzip progress stops updating while the rest of AO works | A proxy is buffering streamed responses or cutting long-lived connections |
| No global terrain, or basemaps missing | api.cesium.com, assets.ion.cesium.com or *.virtualearth.net is blocked |
| A map layer doesn't load | That layer's host is blocked |
| AO acts offline while the network works: Help Center is missing from the menu under your initial, and the basemaps show offline imagery | www.google.com/generate_204 is blocked. Allow it, or ask Terradepth for a build that doesn't check |
| The browser warns about AO's certificate | The computer doesn't trust the certificate yet (install the Appliance CA's root certificate, or your organization's), or the address isn't the name on the certificate |
| An invitation or reset link says it's expired the first time it's used | Your mail gateway held the email: links last 24 hours. Ask your AO Admin to send a new one |
Questions? Contact support@terradepth.com.
Related: Using AO offline · Security in AO · Administering AO