Network setup for field devices
Edition: PROPro ENTERPRISEEnterprise, early access for pilot sites
The Field app runs in the browser of a phone or tablet. To download a site before a walk-down and to send the results back, that device needs a network path to the cinqstack server. This page says which path, and how to allow it without opening anything else.
What connects to what
| From | To | Protocol and port | When |
|---|---|---|---|
| The phone or tablet | The cinqstack server, at the address people already use for the web interface | HTTPS: usually TCP 443 on your reverse proxy | When a surveyor signs in, saves a site for offline use, and sends a walk-down with its photos |
That is the only connection Field needs:
- The field app talks only to the cinqstack server. Its pages, scripts and data all come from that one address, and its security policy blocks requests anywhere else. It loads nothing from the internet. The one exception is optional: a recorded position can be opened in OpenStreetMap, which works only if the person taps it and the phone has internet access.
- Nothing connects to the phone. The server never starts a connection to a field device.
- Nothing new from the server. Field writes to NetBox only when a reviewer applies a walk-down, over the same NetBox connection as every other module.
- The field devices never need to reach the site network. They do not talk to switches, PLCs, firewalls or NetBox. Keep them out of Purdue levels 0 to 2.
Where the field devices sit
Pick the network the phones or tablets join on site, then allow that network to reach the cinqstack server and nothing else. Common choices:
- A dedicated survey Wi-Fi in the industrial DMZ, or in a zone that is allowed to reach the DMZ, with a firewall rule to the cinqstack server only.
- The corporate Wi-Fi or a VPN, when the cinqstack server is reachable from the business network.
The connection is needed only at the start and the end of a walk-down. In between, the app works offline: a surveyor can walk rooms and cabinets with no signal and send everything when back in coverage.
Example firewall rule
For a survey Wi-Fi on 10.50.20.0/24 and a reverse proxy in front of cinqstack at 10.10.5.20:
| Name | Source | Destination | Service | Action | Log |
|---|---|---|---|---|---|
| Survey devices to cinqstack | 10.50.20.0/24 (survey Wi-Fi) | 10.10.5.20 (cinqstack reverse proxy) | TCP 443 (HTTPS) | Allow | Yes |
| Survey devices, everything else | 10.50.20.0/24 | Any | Any | Deny | Yes |
Use your own addresses and object names. If cinqstack is served on another port, allow that port instead.
HTTPS and uploads
- HTTPS is required. Working offline, installing the app (except Add to Home Screen on iPhone and iPad) and recording positions only work over HTTPS with a certificate the phone trusts. See HTTPS on the phone.
- Let photos through the proxy. A photo can be up to 15 MB, and one upload up to 60 MB. Many reverse proxies accept much less by default. In nginx, for example, set
client_max_body_size 60m;for the cinqstack site. Otherwise walk-downs with photos fail to send. - Keep long uploads open. Uploads over a weak site Wi-Fi can be slow, so do not set the proxy's request timeout too short.
Before the first walk-down
- An administrator has turned Field on under Settings › Modules (Field walk-downs: early access).
- On a phone on the survey network,
https://<cinqstack>/field/opens with a padlock and no certificate warning. - A test walk-down with one photo sends without an error, and it appears under Walk-down review.
Relay: a future option
Today, field devices reach the cinqstack server directly. Relay edges carry connector collection only, not Field traffic. Collecting walk-downs through a Relay edge on a remote site, so the phones there need only reach the edge, is a possible future option. It is not available yet.