Smart SSH, HTTPS and MySQL bastion that needs no client-side software
Go to file
2022-07-05 21:54:03 +02:00
.cargo import 2022-04-10 22:58:58 +02:00
.github Update dependabot.yml 2022-07-03 11:33:23 +02:00
docker Updated Dockerfile & setup 2022-07-05 21:32:05 +02:00
warpgate Updated Dockerfile & setup 2022-07-05 21:32:05 +02:00
warpgate-admin Paginate sessions list, added filtering (#161) 2022-07-03 11:56:41 +02:00
warpgate-common Credential policies 2022-07-05 08:57:50 +02:00
warpgate-db-entities lint 2022-06-27 10:15:00 +02:00
warpgate-db-migrations lint 2022-06-27 10:15:00 +02:00
warpgate-protocol-http Credential policies 2022-07-05 08:57:50 +02:00
warpgate-protocol-ssh Credential policies 2022-07-05 08:57:50 +02:00
warpgate-web updated logo 2022-07-03 22:42:37 +02:00
.all-contributorsrc Add @apiening as a contributor 2022-04-12 18:58:50 +02:00
.bumpversion.cfg use workspace-level dependencies 2022-06-26 22:11:01 +02:00
.dockerignore Updated Dockerfile & setup 2022-07-05 21:32:05 +02:00
.env import 2022-04-10 22:58:58 +02:00
.gitignore import 2022-04-10 22:58:58 +02:00
Cargo.lock Update Cargo.lock 2022-07-05 21:53:49 +02:00
Cargo.toml Bump version: 0.2.5 → 0.2.5 2022-07-05 21:54:03 +02:00
Cross.toml build against older glibc - fixes #33 2022-05-18 01:13:25 -07:00
deny.toml only check x86_64 in cargo deny 2022-06-26 22:12:58 +02:00
justfile HTTP targets support (fixes #116) 2022-06-26 20:50:04 +02:00
LICENSE Update LICENSE 2022-04-14 11:14:56 +02:00
README.md Updated Dockerfile & setup 2022-07-05 21:32:05 +02:00
rust-toolchain.toml use workspace-level dependencies 2022-06-26 22:11:01 +02:00
rustfmt.toml import 2022-04-10 22:58:58 +02:00

Warpgate

GitHub All Releases    

Warpgate is a smart SSH bastion host for Linux that can be used with any SSH client.

  • Set it up in your DMZ, add user accounts and easily assign them to specific hosts within the network.
  • Warpgate will record every session for you to view (live) and replay later through a built-in admin web UI.
  • Not a jump host - forwards your connections straight to the target instead.
  • 2FA support
  • Single binary with no dependencies.
  • Written in 100% safe Rust.

Getting started & downloads

image
image image

Project Status

The project is currently in alpha stage and is gathering community feedback. See the official roadmap for the upcoming features.

In particular, we're working on:

  • Support for exposing HTTP(S) endpoints through the bastion,
  • Support for tunneling database connections,
  • Requesting admin approval for sessions
  • and much more.

How it works

Warpgate is a service that you deploy on the bastion/DMZ host, which will accept SSH connections and provide an (optional) web admin UI.

Run warpgate setup to interactively generate a config file, including port bindings. See Getting started for details.

It receives SSH connections with specifically formatted credentials, authenticates the user locally, connects to the target itself, and then connects both parties together while (optionally) recording the session.

You manage the target and user lists and assign them to each other through a config file (default: /etc/warpgate.yaml), and the session history is stored in an SQLite database (default: in /var/lib/warpgate).

You can use the web interface to view the live session list, review session recordings and more.

Contributing / building from source

  • You'll need Rust, NodeJS and Yarn
  • Clone the repo
  • Just is used to run tasks - install it: cargo install just
  • Install the admin UI deps: just yarn
  • Build the API SDK: just openapi
  • Build the frontend: just yarn build
  • Build Warpgate: cargo build (optionally --release)

Contributors

Thanks goes to these wonderful people (emoji key):


Eugeny

💻

Spencer Heywood

💻

Andreas Piening

💻

This project follows the all-contributors specification. Contributions of any kind welcome!