I have the following machines
- MachineA behind firewall somewhere at the world
- MachineB server on the internet (middleman)
- My Laptop behind firewall somewhere at the world
MachineA maintains a reverse SSH tunnel to MachineB
machineA:> autossh -M 2000 -N MachineBIP -R 22000:localhost:22 -C
My Laptop can create a SOCKS5 tunnel to MachineB
my_laptop:> ssh -C2qTnN -D 8123 MachineBIP
Now obviously my browser goes out through MachineB. How can I extend the tunnel so it goes out from MachineA so the browser on My Laptop can access the network of MachineA?