I have two CentOS 7 servers (Hypervisor and Relay for this scenario) . I wish to connect to a VNC port on Hypervisor which is behind a firewall by using Relay with is a server with SSH open to Hypervisor.
I ask Hypervisor to establish the connection with the command:
ssh -N -R 0.0.0.0:5912:127.0.0.1:5912 root@Relay
Once I do this, I can connect to the port on Relay by
and I receive the response: RFB 003.008
When I telnet using the assigned IP address:
on Relay: Connection Refused
Note, the IP 184.108.40.206 is the IP of Relay's NIC, and not some NAT'd IP.
I can not connect from another server within Relay's subnet either.