Pivot / Port-Forward Command Builder
Built first-party. Fill in what you have — everything else falls back to a sensible placeholder so the commands stay readable while you're still deciding on real values. chisel's reverse-tunnel syntax checked against the upstream project before shipping this; it's the one command here easy to get subtly wrong (the control port the client connects to on and the port actually opened for forwarded traffic are two different numbers). Nothing here leaves your browser — no commands are run, only generated.
ssh -L (local forward)
Opens listen port on your own machine; connecting to it reaches forward-to host:port as seen from the pivot host.
ssh -R (remote forward)
Opens listen port on the pivot host; connecting to it there reaches forward-to host:port as seen from your own machine.
ssh -D (dynamic / SOCKS proxy)
Turns listen port into a SOCKS proxy through the pivot host — point proxychains at it to reach anything the pivot can.
socat relay
Run on the pivot host itself — relays connections on listen port to forward-to host:port, no SSH needed.
chisel — server (run on your box)
chisel — client (run on the pivot/target host)
Opens listen port back on your own machine, forwarding to forward-to host:port as reached from the pivot.