Simple Multi-cloud deployment - Routers Configuration

Close, but backwards :slight_smile:

Links are what connect routers to each other. So a router with link.listeners can receive connections from other routers to form the mesh. Routers that have link.dialers configured will try to make connections with routers that have a link.listeners configured. A router can have both dialers and listeners configured.

Every router, fabric or edge, should generally participate in the mesh, so usually every router will have either link.dialers and/or link.listeners configured.

The listeners section is for configuring components which can feed external traffic into the ziti fabric or sent traffic out of the fabric. Generally this means the edge. If you want to enable edge functionality, you need to specify an listeners section for edge, as well as a top level edge: section. If you want to use the combined edge router/tunneler, you also need a listeners section for the tunnel.

Example:

listeners:
  - binding: tunnel
    options:
        mode: host
  - binding: edge
    address: tls:0.0.0.0:7876
    options:
      advertise: 127.0.0.1:7876

Hope that's helpful, let me know if I can provide more details.
Cheers,
Paul

3 Likes