A dashboard doesn't need a door into the plant. How to get PLC data out with one outbound, encrypted connection, enforce read-only at the protocol level, and segment the network so visibility never becomes a path to the process.

Controls engineers rarely start by asking "can you read our PLCs?" They start by asking: "If we connect our machines, are we opening a door?"

As a South African IoT company connecting plants to the cloud, we hear that question more than any other, and it is the right one. OT networks were historically safe because they were isolated. Connecting them for a dashboard makes the people responsible for uptime nervous, and the most common architecture for doing it gives them good reason to be.

The wrong tool: a VPN built for maintenance

A site-to-site VPN or a remote-access tunnel exists so that a person can reach into the plant network to program a controller, change a set-point or troubleshoot a sequence. That is a legitimate need, and it is a two-way door by design.

A dashboard doesn't need a door. It needs a copy of the data.

When a monitoring project reuses the remote-access architecture, it inherits everything security teams dislike about it:

  • inbound firewall rules,
  • standing credentials,
  • a tunnel that is always up,
  • a network path that ends at the PLC.

So the first design decision is to keep the two apart. Monitoring is one connection in one direction. Maintenance access, if the plant wants it, is a separate decision with its own owner, approval and logging.

Comparison: a remote-access VPN is two-way, needs inbound rules and standing credentials and ends at the PLC; a monitoring gateway connects out only, reads only, and needs no inbound rule

The outbound-only design

Put the reading device inside the plant and let it initiate the connection.

  1. An edge gateway sits next to the controllers and reads agreed tags locally, over each PLC's own protocol.
  2. The gateway opens an encrypted connection outward to the platform, for example MQTT over TLS on 8883/tcp with a per-device client certificate.
  3. The platform never opens a connection into the plant. The firewall needs no inbound rule, no PLC port is published, and nothing on the internet can address a controller.
  4. If the link drops, the gateway buffers and sends the readings with their original timestamps when the link returns.

That is the whole trick, and it is simpler than a VPN.

Segment it like you mean it

NIST SP 800-82r3 (Guide to OT Security) and IEC 62443 describe the same idea: defence in depth through zones and conduits. In practice, for a monitoring connection:

Network zones: OT network with PLCs and HMI/SCADA, an edge zone with the gateway, the business network and the cloud, separated by firewalls, with data flowing outward only

The firewall policy fits in one table:

From To Port Rule
Gateway Cloud broker 8883/tcp Allow, outbound only
Gateway PLCs 4840 (OPC UA) / 502 (Modbus) / 44818 (EtherNet/IP) / 102 (S7) Allow, from the gateway IP only, to listed PLC IPs
Internet Edge or OT zone any Deny
Business IT network OT zone any Deny (unless a separately approved conduit exists)
PLCs Gateway new connections Deny. The controllers only answer, they never initiate

If the cloud or the business network has a problem, it has no direct route to the control layer. The worst case is a compromised gateway, which is why the next section matters.

Make "read-only" something you can verify

"Read-only" is easy to promise and easy to get wrong. Enforce it as close to the controller as possible, so it holds even if the gateway itself is compromised.

OPC UA (for example Siemens S7-1200 / S7-1500)

  • Only expose the variables the gateway needs (Accessible from HMI/OPC UA), and clear Writable from HMI/OPC UA on them in TIA Portal.
  • Give the gateway its own user. Don't let it connect anonymously.
  • Use security mode SignAndEncrypt with a current policy such as Basic256Sha256, and trust the gateway's certificate explicitly on the server.

Modbus TCP

  • Modbus has no authentication or encryption, so the network has to provide them.
  • Allow only the gateway's IP, and on a Modbus-aware firewall or gateway allow only the read function codes: 01, 02, 03, 04. Block 05, 06, 15, 16, and also 23 (read/write multiple). Despite the name, 23 writes.
  • A plain port filter on 502/tcp cannot tell a read from a write. If you only have a port filter, the read-only guarantee rests on the gateway's configuration, and your risk assessment should say so.

S7 communication

  • Enabling PUT/GET opens read and write access for remote partners. Prefer OPC UA on S7-1200/1500 where it is available. If you must use S7 communication, keep it behind the gateway-only firewall rule above.

SCADA historian

  • If the data already lands in a historian, read from the historian with a read-only database account instead of polling the live controllers. That puts zero extra load on the PLCs.

Then write it into the scope: the platform has no write access to the control system. If a vendor resists putting that in writing, you have learned something useful.

Checklist for enforcing read-only: OPC UA read-only user on S7-1200/S7-1500, Modbus read function codes 01 to 04 only, read the SCADA historian, agree polling, and write no-write-access into the contract

A checklist before you sign off a PLC connection

  • [ ] The gateway initiates all external connections, and there are no inbound rules
  • [ ] Transport is encrypted, with a per-device certificate that can be revoked
  • [ ] PLC-side access is read-only, enforced in the PLC, the protocol or a protocol-aware firewall
  • [ ] The gateway lives in its own zone, with firewalls on both the OT and IT sides
  • [ ] Poll rates and connection counts are agreed with the controls engineer
  • [ ] Readings are buffered at the edge, with original timestamps preserved
  • [ ] Platform users have named accounts and least-privilege roles, and access is logged
  • [ ] Remote maintenance access, if any, is a separate, approved and time-limited path

Is a connected plant less secure than an isolated one?

Not necessarily. "Air-gapped" often really means unmonitored and unpatched, with a shared SCADA password and a USB stick doing the data transfer. A designed connection with one direction, one owner, encryption and an audit log is easier to control than that.

It also gives you something isolation never did: you can see abnormal behaviour early. A machine stopping at an odd hour or a value drifting out of range becomes visible the moment it happens, instead of at next month's review.

I work at addanode, an IoT company in South Africa. This is the pattern we use to connect existing PLCs to our industrial IoT platform. There is a longer write-up on connecting without exposing your PLCs. Security design is site-specific, so agree it with your OT and IT owners. I'm happy to discuss edge cases in the comments.