Gateways
Network and mobile backhaul
Ethernet with automatic addressing, or a mobile connection. Outbound only.
Introduction
Who this is for. A technician connecting the gateway to the factory network or to a mobile backhaul.
The gateway opens an outbound connection. The factory firewall does not need an inbound rule, and you should not forward a port to the gateway. This article covers Ethernet and a mobile data connection without naming a modem brand.
Architecture
Either path is only a route to the internet. The LoRaWAN messages still go to port 3001.
- EthernetA router hands the gateway an address. This is the usual setup.
- Mobile backhaulA SIM and an access-point name from the carrier, when there is no cable.
- Outbound TLSThe gateway dials the network server. Nothing dials in.
Step 0. Use Ethernet when you can
- Connect the gateway to a router that assigns an address automatically.
- If you set an address by hand, give it a gateway and a DNS server as well, or the name lns.factoraiot.com will not resolve.
- Confirm the cable has a link lamp.
ScreenshotComing soon
Step 1. Use mobile backhaul when there is no cable
- Fit the SIM before you power the gateway if the slot is internal.
- Enter the access-point name the carrier gave you. Leave the username and password empty unless the carrier requires them.
- Check that the signal is usable where the gateway is mounted. A basement often needs the antenna, not the SIM slot, near a window or outside.
- The mobile link is still only a path. The server address stays wss://lns.factoraiot.com:3001.
ScreenshotComing soon
Step 2. Do not open an inbound port
- Do not forward a port from the factory router to the gateway.
- Allow outbound TCP to lns.factoraiot.com port 3001 if the firewall blocks unknown outbound traffic.
- The plant login and the network server web screen are not the path the gateway uses.
ScreenshotComing soon
