@@ -8,30 +8,35 @@ to multiple servers, with the option to mark servers as uplink only.
88
99### Debian / Ubuntu
1010
11- ChirpStack provides a repository that is compatible with the
12- Debian / Ubuntu apt package system. First make sure that both ` dirmngr ` and
13- ` apt-transport-https ` are installed:
11+ ChirpStack provides a Debian / Ubuntu repository which can be used to install
12+ the ChirpStack Packet Multiplexer. First make sure that ` gpg ` is installed:
1413
1514```
16- sudo apt install apt-transport-https dirmngr
15+ sudo apt install gpg
1716```
1817
19- Set up the key for this new repository:
18+ Set up the key for the ChirpStack repository:
2019
21- ```
22- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
20+ ``` bash
21+ sudo mkdir -p /etc/apt/keyrings/
22+ sudo sh -c ' wget -q -O - https://artifacts.chirpstack.io/packages/chirpstack.key | gpg --dearmor > /etc/apt/keyrings/chirpstack.gpg'
2323```
2424
25- Add the repository to the repository list by creating a new file :
25+ Add the repository to the repository list:
2626
27+ ``` bash
28+ echo " deb [signed-by=/etc/apt/keyrings/chirpstack.gpg] https://artifacts.chirpstack.io/packages/4.x/deb stable main" | sudo tee /etc/apt/sources.list.d/chirpstack.list
2729```
28- sudo echo "deb https://artifacts.chirpstack.io/packages/4.x/deb stable main" | sudo tee /etc/apt/sources.list.d/chirpstack.list
30+
31+ Update the apt package cache:
32+
33+ ``` bash
34+ sudo apt update
2935```
3036
31- Update the apt package cache and install ` chirpstack-packet-multiplexer ` :
37+ Install ` chirpstack-packet-multiplexer ` :
3238
3339```
34- sudo apt update
3540sudo apt install chirpstack-packet-multiplexer
3641```
3742
@@ -146,10 +151,35 @@ template:
146151 # # If not set, data of all gateways will be forwarded. If set, only data
147152 # # from gateways with a matching Gateway ID will be forwarded.
148153 # #
149- # # Examplex :
154+ # # Example :
150155 # # * "0102030405060708/32": Exact match (all 32 bits of the filter must match)
151156 # # * "0102030400000000/16": All gateway IDs starting with "01020304" (filter on 16 most significant bits)
152157 # gateway_id_prefixes=[]
158+ #
159+ # # Filter configuration.
160+ # [multiplexer.server.filters]
161+
162+ # # DevAddr prefix filters.
163+ # #
164+ # # Example configuration:
165+ # # dev_addr_prefixes=["0000ff00/24"]
166+ # #
167+ # # The above filter means that the 24MSB of 0000ff00 will be used to
168+ # # filter DevAddrs. Uplinks with DevAddrs that do not match any of the
169+ # # configured filters will not be forwarded. Leaving this option empty
170+ # # disables filtering on DevAddr.
171+ # dev_addr_prefixes=[]
172+
173+ # # JoinEUI prefix filters.
174+ # #
175+ # # Example configuration:
176+ # # join_eui_prefixes=["0000ff0000000000/24"]
177+ # #
178+ # # The above filter means that the 24MSB of 0000ff0000000000 will be used
179+ # # to filter JoinEUIs. Uplinks with JoinEUIs that do not match any of the
180+ # # configured filters will not be forwarded. Leaving this option empty
181+ # # disables filtering on JoinEUI.
182+ # join_eui_prefixes=[]
153183
154184
155185# Monitoring configuration.
0 commit comments