$ ssh -o ProxyCommand="ssh -W %h:%p firewall.example.com" server2.example.org
or
$ ssh -tt firewall.example.com ssh -tt server2.example.org
Source here.