Directly SSH to hosts using internal IPs through the gateway
Posted on In QAWe have many hosts with internal IPs like 10.0.3.*
behind a gateway, say gateway.example.org
. The hosts with internal IP connect to the Internet through the gateway.
How to directly SSH to hosts using internal IPs through the gateway?
Here is the solution: