For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gateway on Linux Native

Instructions for installing KeeperPAM Gateway on Linux with native packages

Overview

This document contains information on how to install, configure, and update your KeeperPAM Gateway on Linux with native packages.

Prerequisites

  • Prior to proceeding with this document, make sure you created a Gateway device.

  • For full capabilities, use Rocky Linux 9, RHEL 9 or Alma Linux 9.

  • If you cannot use one of these Linux flavors, please install using the Docker method

Installation

Install Command

Executing the following command will install the KeeperPAM Gateway, and run it as a service:

  • Replace XXXXX with the One-Time Access Token provided from creating the KeeperPAM Gateway

  • The initial install file is retrieved from keepersecurity.com. After installation, the Gateway’s steady-state outbound connections can be restricted to the regional endpoints as documented.

Installation Location

The gateway will be installed in the following location:

An alias gateway is also created in the same directory

Gateway Service Management

For managing the KeeperPAM Gateway as a service, the following are created during the Gateway installation:

  • A keeper-gateway folder

  • A keeper-gw user

keeper-gateway folder

The keeper-gateway folder contains the gateway configuration file and is created in the following location:

keeper-gw user

During the gateway installation, a new user, keeper-gw, is created and added to the sudoers list in /etc/sudoers.d/.

The keeper-gw user is the owner of the keeper-gateway folder and runs the gateway service. This is required when performing rotations on the gateway service and performing post-execution scripts.

Managing the Gateway Service

The following commands can be executed to start, restart, or stop the KeeperPAM Gateway as a service:

KeeperPAM Gateway Configuration File

The KeeperPAM Gateway configuration file contains a set of tokens that includes encryption keys, client identifiers, and tenant server information used to authenticate and decrypt data from the Keeper Secrets Manager APIs. This configuration file is created from the One-Time Access Token generated when you created the Gateway.

If the KeeperPAM Gateway is installed and running as a service, the gateway configuration file is stored in the following location:

If the KeeperPAM Gateway is installed locally and not running as a service, the gateway configuration file is stored in the following location:

KeeperPAM Gateway Log files

Logs that contain helpful debugging information are automatically created and stored on the local machine.

If the Gateway is running as a service, the log files are stored in the following location:

If the Gateway is not running as a service, the log files are stored in the following location:

Verbose Logging

To add verbose debug logging, modify this file:

and add the -d flag to the "gateway start" command, e.g:

Apply changes to the service:

Tailing the Logs

Updating

Executing the following command will update the KeeperPAM Gateway to the latest version:

Auto Update

Configure your KeeperPAM Gateway installation to automatically check for updates, ensuring it stays up-to-date with the latest version.

Downgrading

Older versions can be installed using the --version argument:

Replace the VERSION with the release number (see releases).

Uninstalling

Executing the following command will uninstall the KeeperPAM Gateway:

Health Checks

To monitor the Gateway service, you can configure health checks that expose its operational status. These checks are useful for Docker orchestration, load balancing, and automated monitoring. See the Health Check section for full setup details and examples.

Network Requirements

The KeeperPAM Gateway establishes outbound-only connections and does not require any inbound firewall rules. The following outbound connections must be allowed:

Destination Endpoint
Ports Needed
More Info

Keeper Cloud keepersecurity.[x]

Endpoints:

US: .com

EU: .eu

AU: .com.au

JP: .jp

CA: .ca

US_GOV: .us

TLS Port 443

Communicates with Keeper Cloud to access target infrastructure via native protocols (e.g., SSH, RDP)

Keeper Router connect.keepersecurity.[x]

Endpoints:

US: .com

EU: .eu

AU: .com.au

JP: .jp

CA: .ca

US_GOV: .us

TLS Port 443

Communicates with Keeper Router to establish secure, real-time WebSocket connections

Keeper Stun/Turn Service

krelay.keepersecurity.[x]

Endpoints:

US: .com

EU: .eu

AU: .com.au

JP: .jp

CA: .ca

US_GOV: .us

TCP and UDP opened on Port 3478 Outbound access to TCP and UDP ports 49152 through 65535

Facilitates secure and encrypted WebRTC connections between end-user's vault and target systems via the Gateway

The Gateway preserves zero knowledge by performing all encryption and decryption of data locally. Keeper Secrets Manager APIs are used to communicate with the Keeper cloud.

Checksum Verification

KeeperPAM Gateway SHA256 hashes for the latest version are published at the below location:

Calculating and verifying the checksum:

Linux

PowerShell

Last updated