The full power of TDengine, now free forever for up to 5,000 tags.

Explore More

How to Collect OPC UA Data Across Segmented OT and IT Networks

Juno Qiu

October 21, 2026 /

An OPC UA client working beside the server proves that the endpoint and credentials can work locally. It does not prove that the same path should be opened from an enterprise historian into the control network.

For OPC UA OT IT network integration, begin with zones, conduits, and required data flows. Place collection components so they can reach the source without turning a protected OT segment into a broadly accessible network. Then secure and monitor each approved connection.

Segmentation protects more than confidentiality

Industrial organizations separate OT and IT because control systems have different availability, safety, change-management, and recovery requirements. Segmentation limits which systems can communicate and reduces the effect of a compromised account or host.

OPC UA protocol security contributes application authentication, message integrity, and confidentiality. Network controls contribute routing boundaries, firewall policy, inspection, monitoring, and isolation. One does not replace the other. An encrypted session can still travel through an overbroad firewall rule, terminate on a compromised collector, or use an account with excessive permissions.

NIST guidance for operational technology recommends security architectures that account for OT performance, reliability, and safety. The right design may use an industrial DMZ, a controlled interzone service, or another site-approved pattern. No single topology fits every plant.

Map the flows before choosing collector placement

A useful conceptual pattern is:

OT devices / PLCs
        |
        v
OPC UA server in an OT zone
        |
        v
Local collection agent
        |
        v
Approved firewall and interzone path
        |
        v
Central historian or industrial data platform

This diagram is a starting point, not a claim that the agent must sit on a PLC network or that every site needs the same DMZ. The detailed design should list each flow with its initiator, source and destination addresses, configured port, protocol, security mode, identity, and operational owner.

Do not assume that every OPC UA endpoint uses one fixed port. The endpoint URL identifies a transport and configured address, and vendor deployments can expose different endpoints. Discovery may also return a hostname or address that is reachable locally but not routable from another zone. Build firewall rules from the approved deployed configuration, not from a generic OPC UA port list.

Collector placement changes both reachability and risk

Three placement patterns are common:

PlacementPotential benefitTradeoff to evaluate
Collector near the OPC UA server in OTKeeps source communication local and reduces dependence on a cross-zone OPC UA sessionThe collector becomes an OT-managed asset and needs a tightly controlled forwarding path
Collector in an industrial DMZCentralizes an interzone service and can reduce direct IT-to-OT reachabilityOPC UA still needs an explicitly authorized path from the DMZ to the source
Central collector in IT or a data centerSimplifies central operations when policy permits direct collectionExtends source connectivity across boundaries and increases dependence on routing and firewall availability

Choose based on the site’s threat model, supported software, latency needs, maintenance model, and outage behavior. Avoid installing a collector directly on a controller or critical server unless the platform vendor and site policy explicitly support it.

Prefer the minimum required flows. When the collection product supports an agent that initiates an upstream connection, that can avoid a general inbound connection from IT to the agent. It does not eliminate the need to review the agent’s listening services, update path, credentials, host hardening, logs, and destination restrictions.

Treat OPC UA certificates and user identity separately

OPC UA applications use application certificates to authenticate peers and establish secure channels. A user token identifies the user or service account within the session. Both layers require deliberate configuration.

For production collection:

  • Select a security policy and message security mode supported by both applications and allowed by site policy.
  • Validate application certificates and trust lists; do not permanently accept unknown certificates to make commissioning easier.
  • Use a dedicated, least-privilege identity that can read only the required nodes.
  • Plan certificate issuance, renewal, revocation, backup, and time synchronization.
  • Monitor rejected certificates and authentication failures as operational signals.

Certificate validation failures can appear after a hostname change, certificate renewal, trust-store reset, or clock problem. Disabling validation hides the symptom and removes a security control. Fix the trust relationship and endpoint configuration instead.

Separate reconnection, buffering, and historical recovery

Reconnection restores a communication session. It does not prove that values produced during the interruption were captured.

A local agent can buffer only data it actually received. If its OPC UA connection to the server fails, an upstream queue cannot invent the missing samples. If the agent continues collecting but cannot forward to the central platform, a persistent local queue may bridge that different failure, subject to disk capacity, retention behavior, ordering, and replay semantics.

OPC UA historical access is another recovery mechanism when the server supports it and the collection product uses it. Do not treat subscription reconnection, local buffering, and source-history backfill as interchangeable. Test each failure boundary separately and document where gaps remain possible.

For a closer look at outage recovery and data completeness, see our guide to preventing OPC UA data gaps during network outages.

Validate the architecture before production

Run a controlled commissioning test across the real network boundaries:

  1. Confirm name resolution, routes, endpoint URLs, and only the approved firewall flows from the actual collector host.
  2. Verify the negotiated OPC UA security policy, certificate identities, user permissions, and readable node scope.
  3. Measure normal latency and load, then test firewall closure, source restart, collector restart, and upstream interruption.
  4. Confirm alarms, logs, buffer limits, disk monitoring, replay order, duplicate handling, and the historian’s visible gap behavior.
  5. Record owners and procedures for certificate renewal, rule changes, software updates, backup, and incident isolation.

Include the OT security and operations teams in acceptance. A path that transfers data successfully but cannot be safely patched, monitored, or isolated is not production-ready.

TDengine taosX-Agent as a distributed collection option

TDengine TSDB Enterprise provides taosX-Agent for sources that taosX cannot reach directly. The current taosX-Agent reference states that the Agent is deployed near the source, initiates access to the data source, and initiates access to the taosX gRPC service. The documented default taosX gRPC port is 6055, but architects should use the configured endpoint and restrict the rule to the required hosts rather than treating a default as universal.

TDengine’s security documentation states that the taosX gRPC interface is unencrypted by default, although gRPC TLS is supported. For connections across network zones, explicitly enable and verify transport encryption alongside the site’s approved network controls.

TDengine also documents optional Store and Forward for supported real-time sources, including OPC UA. When enabled, the Agent persists collected data locally during an Agent-to-taosX interruption and resumes forwarding after recovery. It is disabled by default, uses disk space, and can increase end-to-end latency. It does not recover values the Agent never collected, and it does not promise zero loss under every failure.

The Agent provides a product-specific collection and forwarding path. It does not by itself define an industrial DMZ or satisfy a site’s security architecture. Teams still need to approve the zone placement, endpoint security, firewall flows, host controls, credentials, monitoring, and outage capacity.

For organizations centralizing industrial history in a time-series database, that separation is useful: properly configured OPC UA security protects the source session, the network architecture constrains communication, the Agent collects and may buffer data, and the database stores what successfully reaches it. Each layer needs its own verification.

Related Articles