mholt/caddy-l4

feature request: reverse proxy ssh via username

Ouverte

#63 ouverte le 13 juil. 2022

 (5 commentaires) (6 réactions) (0 personne assignée)Go (114 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 738 étoiles)
Métriques de merge PR
 (Merge moyen 14j 19h) (7 PRs mergées en 30 j)

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 !

Guide contributeur