Generic TCP targets (tunnels)
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.
I would also like to add that I would like the Port Forward Config facility in the UI.
There is an issue added for Blocking SSH Port Forward, I would like the facility to configure the explicit port-forward per connection that already exist. This way Default can be block all port forward connections except the ones that are setup through warpgate.