Smart SSH, HTTPS and MySQL bastion that needs no client-side software
Go to file
2022-11-20 13:59:29 +01:00
.cargo import 2022-04-10 22:58:58 +02:00
.github bumped yarn network timeout in CI 2022-11-17 23:32:40 +01:00
docker bumped yarn network timeout in CI 2022-11-17 23:32:40 +01:00
docs added readme banner 2022-08-08 16:03:35 +02:00
tests temporarily exclude mysql test 2022-11-12 20:09:28 +01:00
warpgate Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-admin Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-common Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-core Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-database-protocols Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
warpgate-db-entities Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-db-migrations Bump sea-orm from 0.10.2 to 0.10.3 2022-11-18 08:49:02 +01:00
warpgate-protocol-http Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
warpgate-protocol-mysql Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
warpgate-protocol-ssh fixed missing CHANNEL_CLOSE messages - #459 2022-11-20 13:59:29 +01:00
warpgate-sso Bump openidconnect from 2.3.2 to 2.4.0 2022-11-18 08:53:12 +01:00
warpgate-web Bump @typescript-eslint/parser from 5.42.1 to 5.43.0 in /warpgate-web 2022-11-19 00:04:45 +01:00
.all-contributorsrc Add @notnooblord as a contributor 2022-11-02 19:36:50 +01:00
.bumpversion.cfg Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
.dockerignore Updated Dockerfile & setup 2022-07-05 21:32:05 +02:00
.env import 2022-04-10 22:58:58 +02:00
.flake8 added e2e tests 2022-08-14 12:36:49 +02:00
.gitignore fixed #456 - postgres field type mismatch 2022-11-08 11:48:24 +01:00
Cargo.lock fixed missing CHANNEL_CLOSE messages - #459 2022-11-20 13:59:29 +01:00
Cargo.toml database config provider 2022-09-02 14:00:08 +02:00
clippy.toml added cranky and removed all .unwrap() usages 2022-07-23 21:31:35 +02:00
Cranky.toml deny clippy::indexing_slicing 2022-07-23 21:53:21 +02:00
Cross.toml build against older glibc - fixes #33 2022-05-18 01:13:25 -07:00
deny.toml Revert "use workspace-level dependencies" 2022-07-06 09:24:06 +02:00
justfile Update justfile 2022-11-19 21:45:59 +01:00
LICENSE Update LICENSE 2022-04-14 11:14:56 +02:00
README.md Add @notnooblord as a contributor 2022-11-02 19:36:50 +01:00
rust-toolchain bumped rust 2022-11-03 23:10:51 +01:00
rustfmt.toml sorted imports 2022-07-15 20:27:33 +02:00
sonar-project.properties added e2e tests 2022-08-14 12:36:49 +02:00



GitHub All Releases     Twitter


Warpgate is a smart SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps.

  • Set it up in your DMZ, add user accounts and easily assign them to specific hosts and URLs 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.
  • Native 2FA and SSO support (TOTP & OpenID Connect)
  • 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:

  • Requesting admin approvals for sessions
  • Support for tunneling PostgreSQL connections,
  • and much more.

How it works

Warpgate is a service that you deploy on the bastion/DMZ host, which will accept SSH, HTTPS and MySQL 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 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.

When connecting through HTTPS, Warpgate presents a selection of available targets, and will then proxy all traffic in a session to the selected target. You can switch between targets at any time.

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 admin web interface to view the live session list, review session recordings, logs 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 frontend: just yarn build
  • Build Warpgate: cargo build (optionally --release)

The binary is in target/{debug|release}.

Tech stack

  • Rust 🦀
    • HTTP: poem-web
    • Database: SQLite via sea-orm + sqlx
    • SSH: russh
  • Typescript
    • Svelte
    • Bootstrap

Contributors

Thanks goes to these wonderful people (emoji key):


Eugeny

💻

Spencer Heywood

💻

Andreas Piening

💻

Niklas

💻

Nooblord

💻

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