I have a gitlab server on my local network and a server that I can ssh to from outside my network.

Is there a way I can configure the server, that I can SSH into, so that when I use:

`ssh [email protected]`

It sends that to the Gitlab server on the local network? Kind of like an Nginx reverse proxy but with ssh.

### Edit:
I've been looking around and I found something [here](https://docs.pivotal.io/gitlab/ssh.html) that looks like what I want.

> ### Access via Load Balancer

> If you want to provide a more standard git experience you can manually  > set up and configure an external load balancer to point to a given
> GitLab node. This should route traffic from port 22 to port 2222 on the > GitLab node. You can then point a DNS record at the load balancer.

This looks like what I am trying to do, but how do I accomplish this?

### Edit 2:
Here is an image that can hopefully clarify what I am trying to do.

(Those red lines should be going through the internet too.)

[![Diagram][1]][1]


  [1]: https://i.sstatic.net/hDGRa.png