mholt/caddy-l4

feature request: reverse proxy ssh via username

开放

#63 创建于 2022年7月13日

 (5 条评论) (6 个反应) (0 位负责人)Go (114 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (1,738 个星标)
PR 合并指标
 (平均合并 14天 19小时) (30 天内合并 7 个 PR)

描述

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 !

贡献者指南