mholt/caddy-l4

feature request: reverse proxy ssh via username

Aberta

#63 aberto em 13 de jul. de 2022

 (5 comentários) (6 reações) (0 responsável)Go (114 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (1.738 estrelas)
Métricas de merge de PR
 (Mesclagem média 14d 19h) (7 fundiu PRs em 30d)

Description

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 !

Guia do colaborador