This section guides you to connect the Robustel R1520LG LoRaWAN® Gateway to The Things Stack using the Semtech UDP Packet Forwarder.
Configure the Packet Forwarder
Follow these steps to configure the UDP Packet Forwarder on the Robustel R1520LG:
- Log in to the gateway’s web interface. Use the default IP (
http://192.168.0.1
) or a custom IP if already configured. - Navigate to LoRaWAN → LoRa Settings → General Settings.
- In the LoRaWAN Network Server drop-down list, select External NS and click Submit.
- Go to the Packet Forwarder section and choose UDP Forwarder from the drop-down.
- Enter the following configuration details:
- server_address: Address of your The Things Stack deployment. See Server Addresses.
- serv_port_up:
1700
(UDP upstream port) - serv_port_down:
1700
(UDP downstream port)
- Click Submit, then click Save and Apply in the top-right corner.
If your configuration was successful, your gateway will connect to The Things Stack within a few seconds.

Troubleshooting
If the gateway does not connect to The Things Stack, follow these steps to debug:
- Navigate to LoRaWAN → LoRa Settings → General Settings.
- Enable Verbose Debug and click Submit, then Save and Apply.
- Navigate to System → Debug to view the packet forwarder logs.
You should see logs indicating successful uplink/downlink communication with The Things Stack. If needed, restart the gateway or re-check the server address and port configuration.