Why gateways need extra protection
A secure IoT gateway is one that has been designed, configured and maintained so that it cannot easily become a route into the equipment it connects. That matters more for a gateway than for most devices, because of where it sits.
An industrial gateway has one side on the plant floor, talking Modbus, CAN or serial to PLCs, meters and drives that were often never designed with security in mind. Its other side connects to the business network, a cellular network or a cloud service. If an attacker takes over the gateway, they may be able to read process data, send commands to machines or move further into the IT network.
Gateways also tend to live in remote cabinets, run for years and be forgotten once they work. Weak default passwords, open management ports and out-of-date firmware are the most common problems, and none of them needs a sophisticated attacker to exploit.
Start with the hardware
Software controls are only as strong as the platform underneath them. When choosing industrial IoT gateways, look for features that let the device prove it is running trusted code:
-
//
TPM 2.0. A Trusted Platform Module stores keys and certificates in tamper-resistant hardware, so the gateway’s identity cannot simply be copied off its storage. It also records boot measurements for attestation.
-
//
Secure boot. Secure boot checks the signature of each stage of firmware and the operating system loader before it runs. On x86 this is UEFI Secure Boot; Arm processors use the SoC vendor’s own verified boot mechanism.
-
//
Encrypted storage. Full-disk encryption tied to the TPM, such as LUKS on Linux or BitLocker on Windows, protects data and credentials if a gateway is stolen from a cabinet.
-
//
Physical controls. BIOS passwords, the option to disable USB ports and a lockable enclosure or cabinet make local tampering harder.
-
//
Long-term support. A gateway needs firmware and OS updates for as long as it is in service, so check the manufacturer’s lifecycle and the support period of the operating system.
Harden the operating system and software
Most gateways run Linux, and some run Windows IoT. Whichever is used, the image should contain only what the gateway needs. Remove compilers, desktop packages and sample applications, disable services that are not used and close every listening port that is not required. Run gateway applications as unprivileged users, or in containers where the platform supports them, so that a fault in one application does not hand over the whole system.
Updates need a plan from the start. Signed update packages, a tested rollback path and a schedule for applying security patches matter more than any single setting, because a gateway that cannot be updated safely will eventually stop being secure.
Secure identity and connections
Every gateway should have its own identity. In practice this means a unique X.509 certificate per device, ideally with the private key generated and held in the TPM, rather than a shared password or API key copied to every gateway in a fleet. Cloud IoT services and MQTT brokers can then authenticate each gateway separately and revoke one without affecting the rest.
All traffic leaving the gateway should be encrypted. The usual options are:
| Connection | How to secure it | Notes |
|---|---|---|
| MQTT | TLS, normally on port 8883, with client certificates | Avoid unencrypted MQTT on port 1883 outside a closed network |
| OPC UA | Sign or SignAndEncrypt security mode with application certificates | The None security mode should be disabled |
| HTTPS and REST | TLS 1.2 or 1.3 with certificate validation | Used by many cloud and management APIs |
| Remote access | VPN such as IPsec, OpenVPN or WireGuard | Prefer outbound tunnels to inbound open ports |
| Field protocols | Keep Modbus, CAN and serial on the plant side only | Most have no built-in authentication |
Where possible, design the gateway to make outbound connections only. A gateway that publishes data to a broker and pulls its updates needs no open inbound ports, which removes a large part of its attack surface.
Segment the network
The gateway should be the controlled crossing point between the plant network and everything else, not one more device on a flat network. IEC 62443 describes this as zones and conduits: group devices with similar security needs into zones, and allow traffic between them only through defined, firewalled conduits. Put the field side of the gateway on its own VLAN or physical port, put its upstream side in a DMZ or IIoT zone, and allow only the protocols and destinations it needs.
On cellular gateways, a private APN from the mobile operator keeps the gateway off the public internet, and the SIM can be locked to the device.
Standards and regulations to check
For industrial systems the main reference is the IEC 62443 series. IEC 62443-3-3 sets security requirements for a complete control system, and IEC 62443-4-2 sets technical requirements for components such as gateways and embedded devices, graded into security levels. Our IEC 62443-4-2 hardware security checklist goes through those requirements for edge hardware. In the US, NIST SP 800-82 gives guidance on OT security and NIST IR 8259 describes baseline capabilities for IoT devices.
In the EU, the Cyber Resilience Act adds security duties for products with digital elements, with its reporting obligations applying from September 2026 and most other requirements from December 2027. Whether a particular gateway needs third-party assessment depends on its category and use, so check the manufacturer’s declarations and your own obligations rather than assuming a product is compliant.
Quick answers on IoT gateway security
IoT gateway security: common questions
Does an IoT gateway need a firewall?
Yes. A host firewall on the gateway itself, plus a network firewall between zones, should allow only the connections the gateway needs.
Is TPM 2.0 required on a gateway?
Not always, but it helps. A TPM keeps device keys out of reach of software and is the simplest way to give each gateway a hardware-backed identity.
Is MQTT secure?
Only with TLS and authentication. Plain MQTT sends data and passwords unencrypted, so production systems should use MQTT over TLS with per-device credentials.
Can an Arm gateway be as secure as an x86 one?
Yes. Many Arm processors offer verified boot and hardware key storage; what matters is whether the gateway’s firmware and OS use them.
How often should gateway firmware be updated?
Whenever security fixes are released. Set a patch schedule at the start and plan how updates will reach gateways on remote sites.
Many of the x86 industrial IoT gateways we list carry TPM 2.0, and we configure the BIOS, operating system and network settings each project needs as part of the standard build.