Skip to content
The Things Stack documentation home
Getting Started Concepts Cloud Enterprise Integrations API Hardware
Getting Started Concepts
Cloud Enterprise
Integrations API Hardware
Get The Things Stack

    Recent searches

      Popular pages

      • Getting Started
      • Adding Gateways
      • Adding Devices
      • Payload Formatters
      • Webhooks
      • Authentication

      No results for “”.

      • Check the spelling, or try fewer or more general words.
      • Ask the community on The Things Network Forum
      • Contact support
      ↑↓ to navigate ↵ to open Esc to close

      Concepts

      • Overview
      • Architecture
      • Features
      • Networking
      • Migrate to The Things Stack
      • Packet Broker
        • Connect
        • Configure
          • Routing Policies
          • Gateway Visibility Settings
        • Default Packet Broker Routing
        • Mapper API
        • Troubleshooting
      • Server Addresses
      • Advanced Topics
      • Troubleshooting
      • The Things Stack Sandbox
      Cloud Enterprise Open Source New in 3.15.1

      Gateway Visibility Settings

      Updated 20 January 2025 Edit on GitHub
      Copy page
      • View as MarkdownThis page as plain text
      • Open in ChatGPTAsk questions about this page
      • Open in ClaudeAsk questions about this page

      Gateway visibility configuration allows network administrators to configure who sees which gateway-related information. Having gateways listed publicly on the map can help discovering partner networks, but it may also lead to privacy concerns. Therefore, Packet Broker allows configuring gateway visibility with fine-grained settings. Learn more about gateway visibility.

      Note:

      The Things Stack currently only allows configuring the default gateway visibility. Configuring visibility per Home Network is not yet supported.

      Configure Default Gateway Visibility

      • Console
      • CLI

      In the Packer Broker settings page, navigate to the Default gateway visibility tab to control what information of your gateways will be publicly visible.

      Default gateway visibility

      Get Default Gateway Visibility

      The default gateway visibility defines rules for all Home Networks if there is no specific gateway visibility for a Home Network.

      Use the following command in your terminal to get the default routing policy:

      ttn-lw-cli packetbroker home-networks gateway-visibilities get default
      

      If there is no default gateway visibility defined, the above command fails with not found.

      Example output

      In the following example, all gateway visibility configuration fields are enabled:

      {
        "updated_at": "2021-09-27T09:55:56.326241Z",
        "visibility": {
          "location": true,
          "antenna_placement": true,
          "antenna_count": true,
          "fine_timestamps": true,
          "contact_info": true,
          "status": true,
          "frequency_plan": true,
          "packet_rates": true
        }
      }
      

      Set Default Gateway Visibility

      To set the default gateway visibility and enable all fields:

      ttn-lw-cli packetbroker home-networks gateway-visibilities set default --all
      

      To customize, see Flags below.

      Delete Default Gateway Visibility

      To delete the default gateway visibility:

      ttn-lw-cli packetbroker home-networks gateway-visibilities delete default
      

      Flags

      When setting gateway visibility, you can specify a combination of the following flags:

      Flag Meaning
      --all Enable all fields
      --location Enable gateway coordinates
      --antenna-placement Enable indoor/outdoor antenna placement
      --antenna-count Enable number of antennas
      --fine-timestamps Enable whether the gateway produces fine timestamps
      --contact-information Enable administrative and technical contact information of the gateway
      --status Enable online/offline status
      --frequency-plan Enable region and channel plan with frequencies that the gateway uses
      --packet-rates Enable receive and transmission packet rates
      ← Routing Policies Default Packet Broker Routing →

      On this page

      • Configure Default Gateway Visibility

      Sections

      Getting Started

      Concepts

      Cloud

      Enterprise

      Integrations

      API

      Hardware

      Sitemap

      View our Sitemap

      Contributing

      GitHub

      About Us

      The Things Industries

      Privacy Policy

      Cookie settings

      Cookie Settings

      We use cookies to enhance your experience, analyze site traffic and deliver personalized content. Read our Privacy Policy.

      Cookie categories