Multiple gateway mqtt brokers (1 local + 1 in cloud)

Hi

I have an application where the LoraServer is installed locally on a PC, while Gatways can be either local, i.e. on the same LAN as the PC, or connected through Cellular network (4G).

For the cellular Gateway I need the broker to be in the cloud (given that local broker do not have public and static IP) while for the local gateways I would want them to use a local broker (that do not depend on internet-connection).

Is there a way to configure two MQTT brokers in network server? If not, what other solution is there?

Thanks
Nathan

Think I found the solution, I can bridge the local Broker to cloud broker.
http://www.steves-internet-guide.com/mosquitto-bridge-configuration/

Hi, I need to do the same things as you mention in this post and I know that chirpstack-gateway-bridge support the multiple MQTT servers so did someone already get it works ? Because I’m getting some trouble when trying to configure the chirpstack-gateway-brigde with multiple MQTT brokers. And by troubles I mean only the first broker set in configuration list seems to work…