Knowledge Hub

Factora Academy

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.

One job for each part
  1. EthernetA router hands the gateway an address. This is the usual setup.
  2. Mobile backhaulA SIM and an access-point name from the carrier, when there is no cable.
  3. Outbound TLSThe gateway dials the network server. Nothing dials in.

Step 0. Use Ethernet when you can

  1. Connect the gateway to a router that assigns an address automatically.
  2. 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.
  3. Confirm the cable has a link lamp.
Screenshot — Coming soon. Addressing is on the gateway or the router, not in Factora.

Step 1. Use mobile backhaul when there is no cable

  1. Fit the SIM before you power the gateway if the slot is internal.
  2. Enter the access-point name the carrier gave you. Leave the username and password empty unless the carrier requires them.
  3. 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.
  4. The mobile link is still only a path. The server address stays wss://lns.factoraiot.com:3001.
Screenshot — Coming soon. SIM and access-point settings are on the gateway.

Step 2. Do not open an inbound port

  1. Do not forward a port from the factory router to the gateway.
  2. Allow outbound TCP to lns.factoraiot.com port 3001 if the firewall blocks unknown outbound traffic.
  3. The plant login and the network server web screen are not the path the gateway uses.
Screenshot — Coming soon. Firewall rules are on the router.