Skip to content

CLI reference

jalth route

Manage hostname egress routes. Requires operator or admin role.

Terminal window
jalth route add <hostname-pattern> --name <name> [--via <device>]
jalth route list
jalth route remove <name>
Argument / FlagDescription
<hostname-pattern>Hostname pattern (e.g. *.mongodb.net)
--name <name>Route name (required)
--via <device>Gateway device (defaults to current device)
Terminal window
jalth route add "*.mongodb.net" --name atlas
jalth route add "*.rds.amazonaws.com" --name aws-db --via db-gateway

List all hostname routes in the mesh.

Remove a route by name.

Terminal window
jalth route remove atlas
  • Gateway device must have a cloudflared tunnel (jalth serve or jalth ssh enable)
  • See Egress routing for use cases