warp-tech/warpgate

Generic TCP targets (tunnels)

Open

#766 opened on May 5, 2023

 (1 comment) (14 reactions) (0 assignees)Rust (281 forks)github user discovery
help wantedprotocol/ssh

Repository metrics

Stars
 (7,061 stars)
PR merge metrics
 (Avg merge 3d 5h) (70 merged PRs in 30d)

Description

Discussed in https://github.com/warp-tech/warpgate/discussions/762

Originally posted by lavrd May 5, 2023 Hi, thanks for the project!

As I can see there is source code to access MySQL through Warpgate and for PostgreSQL source code is need too. But I am thinking about different approaches to achieve it:

  • SSH Tunnel / Port Forwarding - add a public key in admin UI and (or use password like it works now) and then make ssh connecting with port forwarding (as I understand at the moment we can't do it because Warpgate tries to make a hop to another server)
  • TCP Proxy - it requires cli tool, which will do auth and start local tcp server, then start tcp server using Warpgate and make proxy to services like databases

What do you think?

If it is valid proposals and you need it I can try to help with implementation.

Contributor guide