Warpgate is a smart SSH, HTTPS, MySQL and PostgreSQL bastion host for Linux that doesn't need special client apps.
The project is currently in alpha stage and is gathering community feedback.
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.
cargo install just
just yarn
just yarn build
cargo build
(optionally --release
)The binary is in target/{debug|release}
.
poem-web
sea-orm
+ sqlx
russh
just openapi-all
.Thanks goes to these wonderful people (emoji key):
Eugeny π» |
Spencer Heywood π» |
Andreas Piening π» |
Niklas π» |
Nooblord π» |
Shea Smith π» |
This project follows the all-contributors specification. Contributions of any kind welcome!