Skip to content
bynhDocs

Allow our checkers through your firewall

Let bynh’s uptime checks reach a service that only accepts traffic from known IP addresses.

1 min readUpdated

If your service sits behind a firewall or an IP allow-list, your monitors will call it down until our checkers can reach it. Checks come only from the addresses we publish, so you can allow exactly those and nothing else.

Find the addresses

The IP addresses page lists every address, all together and by checking location. For automation, fetch the same list as plain text or JSON:

FormatAddress
Plain texthttps://bynh.io/ips.txt
JSONhttps://api.bynh.io/api/v1/public/monitoring-ips

The plain-text list has one address per line, under a # region location comment for each checking location. Skip lines that start with #. Before the first locations go live it holds only those comments, so a script that reads it gets an empty list instead of an error.

Shell
curl -s https://bynh.io/ips.txt | grep -v '^#'

Allow them

  1. Step 1: Add the addresses

    Allow inbound traffic from every address on the list to the host and port your monitor checks. Include the IPv6 addresses if your service has an AAAA record.

  2. Step 2: Recognise our requests

    Every check sends bynh-status-agent/<version> as its User-Agent. Use it to find our checks in your logs, but don’t allow traffic on it alone: any client can send that header.

  3. Step 3: Test the monitor

    Open the monitor in Status and select Test now. A passing check means the firewall lets us through.

Agents on your own servers

Checks run by an agent on your own servers come from your own addresses, so they aren’t on the list. Allow those the way you allow any other internal traffic.

Was this helpful?

Edit this page on GitHub