# Mosquitto

Mosquitto is an open source, lightweight Message Queuing Telemetry Transport (MQTT) broker that implements MQTT 5.0, 3.1.1, and 3.1 for sending and receiving messages between IoT devices, sensors, and applications,. It is open source and self-hosted, installable on TrueNAS, Proxmox, Unraid, Umbrel and Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/3072/mosquitto

## Description

Mosquitto is an open source, lightweight Message Queuing Telemetry Transport (MQTT) broker that implements MQTT 5.0, 3.1.1, and 3.1 for sending and receiving messages between IoT devices, sensors, and applications, from single-board computers to full servers.

## Platform availability

Available on 7 of 10 platforms: Unraid, TrueNAS, Umbrel, ZimaOS, Proxmox, Helm, Any server.

## Health score

56/100 (Fair), based on 5 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 81 (11,351 GitHub stars)
- Easy to install: 75 (5 install platforms, install notes, Docker image)
- Light to run: 100 (256 MB minimum RAM)
- Security check: 85 (no serious findings, CI)

## Links

- Documentation: https://mosquitto.org/documentation
- TrueNAS: https://apps.truenas.com/catalog/eclipse-mosquitto/
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=mqtt
- Official website: https://mosquitto.org
- Unraid: https://ca.unraid.net/apps/mosquitto-1q9ab6j1g915vz?q=mosquitto
- Umbrel: https://apps.umbrel.com/app/mosquitto
- Kubernetes (Helm): https://artifacthub.io/packages/helm/naps/mosquitto
- GitHub: https://github.com/eclipse-mosquitto/mosquitto

## Common questions

### Which ports should I expose for Mosquitto?

Expose 1883 for MQTT, 8883 for MQTT over TLS, and 9001 for MQTT over WebSockets.

### Will the imagegenius Mosquitto Docker image receive updates?

No. The image is deprecated and will not be updated or supported.

### Can I put Mosquitto behind a reverse proxy?

You can use Mosquitto with HAProxy, with or without TLS termination.

### How do I control client authentication and device permissions?

Use the example pwfile, aclfile, and pskfile files to set usernames, passwords, and device permissions. Without these, clients may fail authentication or receive more access than intended.

## Alternatives

- RabbitMQ: RabbitMQ is an open source message broker that implements the Advanced Message Queuing Protocol (AMQP), used to route and queue messages be…
- VerneMQ: VerneMQ is a high-performance, distributed MQTT message broker.

---
Source: Our Local Host (https://ourlocalhost.com/app/3072/mosquitto), the self-hosted and open-source app directory.
