This approach, based on [0] and [1] lets me reverse-tunnel through the local machine, to get github (and other) access on protected machines, such as HPC compute systems.
I put these lines in my local ~/.ssh/config
file
Host somehpcsocks
ProxyCommand ssh -D 2020 localhost nc -q 1 localhost 22