Smart SSH, HTTPS and MySQL bastion that needs no client-side software
Find a file
2025-08-28 15:21:24 +02:00
.cargo reproducible build test 2025-03-21 23:47:06 +01:00
.github pin cargo-deny exactly 2025-08-23 20:37:34 +02:00
.well-known Create funding-manifest-urls 2024-10-17 11:21:22 +02:00
docker added healthcheck command - fixes #1432, fixes #1453 2025-08-23 19:37:34 +02:00
tests fixed #1381 - skip password auth in postgres if not required (#1383) 2025-06-18 20:03:46 +02:00
warpgate added healthcheck command - fixes #1432, fixes #1453 2025-08-23 19:37:34 +02:00
warpgate-admin Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-common added healthcheck command - fixes #1432, fixes #1453 2025-08-23 19:37:34 +02:00
warpgate-core Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-database-protocols Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-db-entities Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-db-migrations Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-protocol-http added healthcheck command - fixes #1432, fixes #1453 2025-08-23 19:37:34 +02:00
warpgate-protocol-mysql Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-protocol-postgres Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-protocol-ssh fix: ssh server doesnt offer ed-25519 hostkey (#1473) 2025-08-28 15:21:24 +02:00
warpgate-sso Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
warpgate-web Bump @fortawesome/free-solid-svg-icons from 6.7.2 to 7.0.0 in /warpgate-web (#1439) 2025-08-04 21:40:38 +02:00
.all-contributorsrc Add @samtoxie as a contributor 2025-02-13 16:01:22 +01:00
.bumpversion.cfg Bump version: 0.15.0 → 0.16.0 2025-08-04 14:27:52 +02:00
.dockerignore fixed #1368 - correctly generate version number in docker (#1372) 2025-06-10 22:08:09 +02:00
.flake8 added e2e tests 2022-08-14 12:36:49 +02:00
.gitignore SBOMs (#1289) 2025-03-20 16:11:14 +01:00
Cargo.lock bumped russh 2025-08-23 19:38:44 +02:00
Cargo.toml bumped russh 2025-08-23 19:38:44 +02:00
clippy.toml added cranky and removed all .unwrap() usages 2022-07-23 21:31:35 +02:00
config-schema.json removed http.enable config option 2025-08-23 20:54:32 +02:00
Cranky.toml Offer checking and accepting SSH host keys in the admin UI (#1307) 2025-04-05 04:05:21 +02:00
Cross.toml build updates 2022-11-22 00:52:43 +01:00
deny.toml Disable default dep features (#1364) 2025-06-04 10:12:02 +02:00
justfile fixed #1356 - generate config schema (#1357) 2025-06-03 00:37:25 +02:00
LICENSE Update LICENSE 2022-04-14 11:14:56 +02:00
README.md Update README.md 2025-08-18 09:54:29 +02:00
rust-toolchain reproducible build test 2025-03-21 23:47:06 +01:00
rustfmt.toml sorted imports 2022-07-15 20:27:33 +02:00
SECURITY.md Update SECURITY.md 2025-04-10 22:17:40 -07:00
sonar-project.properties added e2e tests 2022-08-14 12:36:49 +02:00


Shows a black logo in light color mode and a white one in dark color mode.


GitHub All Releases     Discord


Warpgate is a smart & fully transparent SSH, HTTPS, MySQL and PostgreSQL bastion host that doesn't require a client app or an SSH wrapper.

  • 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 connection straight to the target in a way that's fully transparent to the client.
  • Native 2FA and SSO support (TOTP & OpenID Connect)
  • Single binary with no dependencies.
  • Written in 100% safe Rust.

Getting started & downloads

image

Reporting security issues

Please use GitHub's vulnerability reporting system.

Project Status

The project is ready for production.

How it works

Warpgate is a service that you deploy on the bastion/DMZ host, which will accept SSH, HTTPS, MySQL and PostgreSQL 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 the admin UI, and the session history is stored in an SQLite database (default: in /var/lib/warpgate).

You can also 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 NPM
  • Clone the repo
  • Just is used to run tasks - install it: cargo install just
  • Install the admin UI deps: just npm
  • Build the frontend: just npm run 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

Backend API

  • Warpgate admin and user facing APIs use autogenerated OpenAPI schemas and SDKs. To update the SDKs after changing the query/response structures, run just openapi-all.

Contributors

Thanks goes to these wonderful people (emoji key):

Eugeny
Eugeny

💻
Spencer Heywood
Spencer Heywood

💻
Andreas Piening
Andreas Piening

💻
Niklas
Niklas

💻
Nooblord
Nooblord

💻
Shea Smith
Shea Smith

💻
samtoxie
samtoxie

💻

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