Skip to main content

Quick Start Guide

Get connected to your GateKey VPN in under 5 minutes.

Prerequisites

You need a VPN client installed on your machine:

OpenVPN Client

PlatformInstallation
macOSbrew install openvpn
Ubuntu/Debiansudo apt install openvpn
Fedorasudo dnf install openvpn
WindowsDownload OpenVPN Connect

WireGuard Client (Alternative)

PlatformInstallation
macOSWireGuard App Store
Ubuntu/Debiansudo apt install wireguard-tools
Fedorasudo dnf install wireguard-tools
WindowsDownload WireGuard

Install the GateKey Client

Option 1: Homebrew (macOS/Linux)

brew tap dye-tech/gatekey
brew install gatekey

Option 2: Download Binary

# Linux (amd64)
curl -LO https://github.com/dye-tech/GateKey/releases/latest/download/gatekey-linux-amd64.tar.gz
tar -xzf gatekey-linux-amd64.tar.gz
sudo mv gatekey /usr/local/bin/

# macOS (Apple Silicon)
curl -LO https://github.com/dye-tech/GateKey/releases/latest/download/gatekey-darwin-arm64.tar.gz
tar -xzf gatekey-darwin-arm64.tar.gz
sudo mv gatekey /usr/local/bin/

Option 3: Build from Source

git clone https://github.com/dye-tech/GateKey.git
cd GateKey
make build-client
sudo cp bin/gatekey /usr/local/bin/

Connect to VPN

Step 1: Configure Your Server

Point the client at your company's GateKey server (run once):

gatekey config init --server https://vpn.yourcompany.com

Step 2: Login

Authenticate with your company credentials:

gatekey login

This opens your browser for SSO login (Okta, Azure AD, Google, etc.).

Headless Environments

For servers without a browser, use --no-browser:

gatekey login --no-browser
# Copy the printed URL to a browser on another machine

Step 3: Connect

gatekey connect

That's it! You're connected.

Step 4: Check Status

gatekey status

Example output:

Status: Connected
Gateway: us-east-1
Interface: tun0
Connected at: 2024-01-15T10:30:00Z
Duration: 2h15m30s
Local IP: 10.8.0.5

Step 5: Disconnect

gatekey disconnect

What Just Happened?

  1. gatekey login - Opened your browser to authenticate with your company's SSO
  2. gatekey connect - Downloaded a short-lived VPN config (valid ~24 hours) and connected
  3. Your firewall rules were automatically applied based on your role/group membership
  4. Configs auto-refresh, so you never deal with expired certificates

Alternative: Web UI

If you prefer not to use the CLI, you can use the web interface.

Step 1: Login

Navigate to your GateKey server and authenticate with your identity provider:

GateKey Login Page

GateKey supports multiple SSO providers including Keycloak, SAML, and local authentication.

Step 2: Dashboard

After login, you'll see the dashboard with your available resources:

GateKey Dashboard

The dashboard shows:

  • Stats - Gateways, networks, users, access rules, and proxy apps
  • Quick Actions - Connect to VPN, mesh networks, web access
  • Your Gateways - Available VPN gateways with status
  • Your Mesh Networks - Hub-and-spoke mesh networks
  • Your Web Apps - Clientless web access to internal applications

Step 3: Connect to VPN

Click "Connect to VPN" to see available gateways and connection instructions:

Connect to VPN

You can either:

  • Use the CLI commands shown on the right (recommended)
  • Download a manual configuration file for your VPN client

Video Demo

Watch a complete walkthrough of GateKey features:

Next Steps