OK let me start at the beginning
The chirpstack server I installed is from this website.
https://github.com/chirpstack/chirpstack-docker
In docker-compose.yml I made the following changes
I changed the region to US915
environment:
- INTEGRATION__MQTT__EVENT_TOPIC_TEMPLATE=us915/gateway/{{ .GatewayID }}/event/{{ .EventType }}
- INTEGRATION__MQTT__STATE_TOPIC_TEMPLATE=us915/gateway/{{ .GatewayID }}/state/{{ .StateType }}
- INTEGRATION__MQTT__COMMAND_TOPIC_TEMPLATE=us915/gateway/{{ .GatewayID }}/command/#
I also had to change to ports because 8080 is occupied by windows processes.
it is now 8888
ports:
- "8888:8888"
In chirpstack.toml
I edited this.
bind="0.0.0.0:8888"
With either localhost:8888 or 192.1687.10.100:8888 I can access the Chirpstack dashboard.
Windows Defender Firewall is disabled. To be sure I also made the exceptions for ports 1700 and 8888.
I think all the forwarding is done
Listen on ipv4: Connect to ipv4:
Address Port Address Port
0.0.0.0 1700 172.29.31.19 1700
0.0.0.0 8888 172.29.31.19 8888
192.168.100.10 8888 172.29.31.19 8888
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
925f03cca141 chirpstack/chirpstack-rest-api:4 "/usr/bin/chirpstack…" 30 minutes ago Up 30 minutes 0.0.0.0:8090->8090/tcp, [::]:8090->8090/tcp chirpstack-docker-master-chirpstack-rest-api-1
c348afe12d4b chirpstack/chirpstack-gateway-bridge:4 "/usr/bin/chirpstack…" 30 minutes ago Up 30 minutes 0.0.0.0:3001->3001/tcp, [::]:3001->3001/tcp chirpstack-docker-master-chirpstack-gateway-bridge-basicstation-1
76850d3d88b1 chirpstack/chirpstack-gateway-bridge:4 "/usr/bin/chirpstack…" 30 minutes ago Up 30 minutes 0.0.0.0:1700->1700/udp, [::]:1700->1700/udp chirpstack-docker-master-chirpstack-gateway-bridge-1
826fbbdff45d chirpstack/chirpstack:4 "/usr/bin/chirpstack…" 30 minutes ago Up 30 minutes 0.0.0.0:8888->8888/tcp, [::]:8888->8888/tcp chirpstack-docker-master-chirpstack-1
3862ae758bea postgres:14-alpine "docker-entrypoint.s…" 30 minutes ago Up 30 minutes 5432/tcp chirpstack-docker-master-postgres-1
f8f5e745d986 redis:7-alpine "docker-entrypoint.s…" 30 minutes ago Up 30 minutes 6379/tcp chirpstack-docker-master-redis-1
7f87077976b5 eclipse-mosquitto:2 "/docker-entrypoint.…" 30 minutes ago Up 30 minutes 0.0.0.0:1883->1883/tcp, [::]:1883->1883/tcp chirpstack-docker-master-mosquitto-1
In Chirpstack when I want to add a Gateway I only need to provide the EUI64: fffedca632fef7d9
On the gateway side, there are only these fields
ID: fffedca632fef7d9
Server: 192.168.100.10
Port up: 1700
Port down: 1700
Region: US915
Result: not connecting.
Last seen: Never.
For reference, this is the gateway i want to connect: https://swiott.com/products/gtw721-iot-lorawan-gateway
I hope this is sufficient information so you can help me