Configure Packet Forwarder

In the RAK WisGate OS web-interface, you must configure the Packet Forwarder such that it forwards to localhost on port 1700.

Please refer to the WisGate OS 2 manual for instructions on how to access the web-interface.

  • In the left menu, click the Configuration icon (second icon from top to bottom).
  • Configure the following settings:
    • Work mode: Packet forwarder
    • Under Protocol:
      • Protocol: Semtech UDP GWMP Protocol
    • Under UDP Protocol parameters:
      • Server address: localhost
      • Server port up: 1700
      • Server port down: 1700
  • Click Save changes

Install ChirpStack MQTT Forwarder

SSH login

First you must login into the gateway using SSH:


You must use the password as configured during the setup of the gateway.

Download IPK

Use the following commands to download the latest version of the chirpstack-mqtt-forwarder package:

cd /tmp
wget https://artifacts.chirpstack.io/downloads/chirpstack-mqtt-forwarder/vendor/rak/mipsel_24kc/chirpstack-mqtt-forwarder_4.1.3-r1_mipsel_24kc.ipk

Install IPK

Use the opkg package-manager to install the downloaded package. Example:

opkg install chirpstack-mqtt-forwarder_4.1.3-r1_mipsel_24kc.ipk


To connect the ChirpStack MQTT Forwarder to your MQTT broker, you must update the ChirpStack MQTT Forwarder configuration file. This file is located at: /etc/chirpstack-mqtt-forwarder/chirpstack-mqtt-forwarder.toml.

(Re)start and stop commands

Use the following commands to (re)start and stop the ChirpStack MQTT Forwarder service:

# start
/etc/init.d/chirpstack-mqtt-forwarder start

# stop
/etc/init.d/chirpstack-mqtt-forwarder stop

# restart
/etc/init.d/chirpstack-mqtt-forwarder restart

Access log output

Use the following command to access the ChirpStack MQTT Forwarder log output:

logread -f -l 100 -e chirpstack-mqtt-forwarder