mholt/caddy-l4

feature request: reverse proxy ssh via username

Aperta

#63 aperta il 13 lug 2022

 (5 commenti) (6 reazioni) (0 assegnatari)Go (114 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (1738 stelle)
Metriche merge PR
 (Merge medio 14g 19h) (7 PR mergiate in 30 g)

Descrizione

It would be cool if the ssh matcher allowed matching against a user, and if the handler allowed you to pass the request on to a different user. ie,

git@example.com   -> caddy-l4 -> git@git.internal
host1@example.com -> caddy-l4 -> user@host1.internal

basically exactly what tg123/sshpiper does. i think itd be cool if caddy-l4 could support reverse proxying ssh in this manner by default.

apologies in advance if this doesnt seem feasible or its outside of the scope of this plugin !

Guida contributor