mholt/caddy-l4

feature request: reverse proxy ssh via username

Offen

#63 geöffnet am 13.07.2022

 (5 Kommentare) (6 Reaktionen) (0 zugewiesene Personen)Go (114 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (1.738 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 14T 19h) (7 gemergte PRs in 30 T)

Beschreibung

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 !

Contributor Guide