.cargo | ||
.github | ||
docker | ||
warpgate | ||
warpgate-admin | ||
warpgate-common | ||
warpgate-db-entities | ||
warpgate-db-migrations | ||
warpgate-protocol-ssh | ||
.all-contributorsrc | ||
.bumpversion.cfg | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
deny.toml | ||
justfile | ||
LICENSE | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml |
Warpgate
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 replay and review later through a built-in admin web UI.
- Not a jump host - forwards your connections straight to the target instead.
- Single-file statically linked binary with no dependencies.
- Written in 100% safe Rust.
Getting started & downloads
- See the Getting started wiki page.
- Release / beta binaries
- Nightly builds
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,
- Live session view and control,
- 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 nightly Rust (will be installed automatically), 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-client
- 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!