services:svxreflector
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:svxreflector [2023/03/16 07:28] – f4hof | services:svxreflector [2023/03/16 16:24] (current) – f4hof | ||
---|---|---|---|
Line 301: | Line 301: | ||
==== Mosquitto ==== | ==== Mosquitto ==== | ||
- | < | + | Remplacer '' |
- | apt install mosquitto | + | |
+ | <code bash> | ||
+ | apt install mosquitto | ||
+ | mosquitto_ctrl dynsec init / | ||
+ | chown mosquitto: | ||
</ | </ | ||
- | <pre> | + | <code - / |
allow_anonymous false | allow_anonymous false | ||
per_listener_settings false | per_listener_settings false | ||
plugin / | plugin / | ||
- | plugin_opt_config_file / | + | plugin_opt_config_file / |
+ | |||
+ | FIXME TODO | ||
+ | <code bash> | ||
+ | systemctl restart mosquitto.service | ||
+ | ufw allow from any to any port 1883 | ||
+ | |||
+ | mosquitto_ctrl dynsec createRole repeater | ||
+ | mosquitto_ctrl dynsec addRoleACL repeater subscribePattern repeaters/ | ||
+ | mosquitto_ctrl dynsec addRoleACL repeater publishClientSend repeaters/ | ||
+ | |||
+ | mosquitto_ctrl dynsec createRole masterController | ||
+ | mosquitto_ctrl dynsec addRoleACL masterController publishClientSend repeaters/+ allow 0 | ||
+ | mosquitto_ctrl dynsec addRoleACL masterController subscribePattern repeaters/ | ||
+ | |||
+ | mosquitto_ctrl dynsec createGroup gr_admin | ||
+ | mosquitto_ctrl dynsec createGroup gr_master_controllers | ||
+ | mosquitto_ctrl dynsec createGroup gr_repeaters | ||
+ | mosquitto_ctrl dynsec addGroupRole gr_admin admin | ||
+ | mosquitto_ctrl dynsec addGroupRole gr_repeaters repeater | ||
+ | mosquitto_ctrl dynsec addGroupRole gr_master_controllers masterController | ||
+ | |||
+ | </ | ||
+ | |||
+ | Where acltype is one of publishClientSend, | ||
+ | |||
+ | https:// |
services/svxreflector.1678951696.txt.gz · Last modified: 2023/03/16 07:28 by f4hof