Skip to content

Instantly share code, notes, and snippets.

@crotel
Forked from giljr/brokers_bridge_config.csv
Created March 21, 2022 07:25
Show Gist options
  • Save crotel/72d677b0a8cc36c9a3fd79017273ee98 to your computer and use it in GitHub Desktop.
Save crotel/72d677b0a8cc36c9a3fd79017273ee98 to your computer and use it in GitHub Desktop.
Line Properties broker1 Values (mosquitto.br_conf) broker0 Values (mosquitto.conf) Description
210 port 1884 1883 Port to use for the default listener
310 tls_version tlsv1.2 tlsv1.2 the version of the TLS protocol to use for this listener
374 listener - 8883 listener port-number [ip address/host name]
450 cafile - C:\...\mosquitto\certs\ca.crt defines the path to a file containing the CA certificates
454 certfile - C:\...\mosquitto\certs\server.crt Path to the PEM encoded server certificate
457 keyfile - C:\...\mosquitto\certs\server.key Path to the PEM encoded keyfile
651 allow_anonymous false false If `password_file` or `psk_file` is set
669 password_file C:\...\mosquitto\passwordfile.pwd C:\...\mosquitto\passwordfile.pwd If password_file is set the auth_plugin check will be made first
728 acl_file C:\...\mosquitto\acl.acl C:\...\mosquitto\acl.acl If acl_file is set the auth_plugin check will be made first
792 connection br-me-to-broker0 - Any name for your bridge connection; connection <name>
793 address LAPTOP-JAYTHREE:8883 - address <host>[:<port>] [<host>[:<port>]]
794 topic # both 0 - <topic> [[[out | in | both] qos-level] local-prefix remote-prefix]
817 cleansession false - When set to true when the bridge disconnects for any reason all messages and subscriptions will be cleaned up on the remote broker
839 notifications false - If set to true publish notification messages to the local and remote brokers giving information about the state of the bridge connection
851 remote_clientid broker0 - Set the client id to use on the remote end of this bridge connection
857 remote_password 123 - Set the password to use when connecting to a broker that requires authentication. This option is only used if remote_username is also set
863 remote_username admin - Set the username to use when connecting to a broker that requires authentication
909 start_type automatic - A bridge using the `once` start type will be started automatically when the broker starts but will not be restarted if the connection fails
922 try_private true - If try_private is set to true the bridge will attempt to indicate to the remote broker that it is a bridge not an ordinary client
936 bridge_cafile C:\...\mosquitto\certs\ca.crt - bridge_cafile defines the path to a file containing the Certificate Authority certificates that have signed the remote broker certificate
952 bridge_insecure false - When using certificate based encryption bridge_insecure disables verification of the server hostname in the server certificate
955 bridge_certfile C:\...\mosquitto\certs\server.crt - Path to the PEM encoded client certificate
958 bridge_keyfile C:\Program Files\mosquitto\certs\server.key - Path to the PEM encoded client private key
------- -------- -------------- -------------- -------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment