Industrial Ports and Protocols
Default ports are conventions, not guarantees: any service can be moved to another port. Use this sheet for firewall planning and for recognising traffic in a capture (see Wireshark OT hardening).
OT and industrial protocols
Section titled “OT and industrial protocols”| Protocol | Port | Transport | Encryption / auth | Security note |
|---|---|---|---|---|
| Modbus/TCP | 502 | TCP | None | No auth; anyone who can reach the port can read and write registers. Restrict by firewall. |
| OPC UA | 4840 | TCP | Built in (signing, encryption, user auth) when enabled | Security modes can be set to None; require Sign or SignAndEncrypt and certificates. |
| MQTT | 1883 | TCP | None (plain) | Cleartext credentials and payloads; use only on trusted networks. |
| MQTT over TLS | 8883 | TCP | TLS | Enable broker auth and ACLs; validate certificates. |
| MQTT over WebSockets | Broker dependent | TCP | Plain or TLS (wss) | Port is set by the broker config; prefer wss behind TLS. |
| S7comm (Siemens) | 102 | TCP (ISO-on-TCP) | None in classic S7comm | Legacy protocol without auth; newer S7 variants add protection. Segment PLCs. |
| EtherNet/IP explicit messaging | 44818 | TCP and UDP | None by default (CIP Security is optional) | Restrict to engineering and control networks. |
| EtherNet/IP implicit I/O | 2222 | UDP | None by default | Real-time I/O traffic, often multicast; keep inside the cell network. |
| BACnet/IP | 47808 | UDP | None by default (BACnet/SC adds TLS) | Building automation; broadcast-based discovery, keep off untrusted networks. |
| DNP3 | 20000 | TCP and UDP | None in base protocol (Secure Authentication optional) | Common in utilities; use secure authentication or a VPN. |
| IEC 60870-5-104 | 2404 | TCP | None in base protocol (IEC 62351 adds security) | Power-system telecontrol; tunnel or firewall tightly. |
| PROFINET | No single port (Layer 2, ethertype 0x8892) | Ethernet frames; some services use UDP | Generally none for real-time traffic | Layer 2 so it does not cross routers; segment by VLAN and cell. |
IT protocols you will meet on OT networks
Section titled “IT protocols you will meet on OT networks”| Protocol | Port | Transport | Encryption / auth | Security note |
|---|---|---|---|---|
| SSH | 22 | TCP | Encrypted; password or key auth | Prefer keys, disable root login and password auth where possible. |
| Telnet | 23 | TCP | None | Cleartext; replace with SSH. |
| RDP | 3389 | TCP (and UDP) | Encrypted; user auth (NLA recommended) | Never expose to the internet; use a VPN or gateway and MFA. |
| VNC | 5900 | TCP | Varies; often weak or none | Tunnel over SSH or VPN; use strong passwords. |
| HTTP | 80 | TCP | None | Cleartext; redirect to HTTPS. |
| HTTPS | 443 | TCP | TLS | Keep certificates valid; disable old TLS versions. |
| WireGuard | 51820 | UDP | Modern encryption, key-based | Default port only; configurable. Small, fast VPN. |
| OpenVPN | 1194 | UDP (or TCP) | TLS-based | Default port; configurable. Use certificates. |
| IPsec IKE | 500 and 4500 | UDP | Encrypted tunnel, IKE auth | 4500 is used for NAT traversal. |
| DNS | 53 | UDP and TCP | None by default (DoT/DoH optional) | Restrict resolvers; monitor for tunnelling. |
| NTP | 123 | UDP | None by default | Accurate time matters for logs and certificates; use trusted sources. |
| SNMP | 161 (queries), 162 (traps) | UDP | v1/v2c community strings in cleartext; v3 supports auth and privacy | Use SNMPv3; change default community strings. |
| Syslog | 514 | UDP (TCP also used) | None for classic UDP syslog | Cleartext; use TLS syslog where supported. |
| SMB | 445 | TCP | Varies by version; SMB3 supports encryption | Disable SMBv1; never expose to the internet. |