I have Gitea running in a docker container on my client with SSH on port 222 and the UI on port 3000; I’ve successfully done the following:
- Created a tunnel from the server/proxy to the client port 3000, so I have access to Gitea’s UI
- I can clone repositories via HTTPS, since they’re using the same tunnel
- I created a tunnel to allow SSH-ing to the client (using the solution from here)
- I can clone repositories with SSH if I’m on the same network and specify the local IP address as the domain
I can’t seem to create a tunnel that allows for cloning repositories via ssh. I’ve tried both the “default” tunnel configuration (client HTTPS) and the one which worked for SSH-ing into the machine (server HTTPS with external TCP like the SSH), but neither gives me access; I get a “connection refused” error. Has anyone managed to clone repositories using SSH through boringproxy? With Gitea or any other git server.