I have two servers, server A and server B. Server B is acting as a VPN for server A. I am trying to figure out a way from a 3rd computer to ssh directly into server A even though it's behind server B's firewall.
Sever A:
IP: 73.85.87.81
sshport: 222
Server B:
IP: 109.192.97.168
sshport: 22
I noticed I can VPN in to server B then ssh to server A or ssh to server B then ssh to server A, but I would rather be able to ssh once and end up at sever A on port 222.
Is there a way I could set things up that when I ssh 109.192.97.168:222 I end up at 73.85.87.81:222?
I do not want to ssh into server B and then from there ssh into server A. I would much rather have ports forwarded to allow me to ssh directly to server A.