How can I make ports forwarded or proxied by ssh available to machines other than the local machine?
e.g. machine A connecting to machine B (works)
ssh -L8080:some-service:8080 user@machine-B
machine C connecting to Machine B through Machine A's forwarded port (doesn't work)
curl machine-A:8080
I get
curl: (7) Failed to connect to machine-A port 8080: Connection refused
machine A connecting to Machine B through machine A's forwarded port (does work)
curl 127.0.0.1:8080
curl 127.0.0.1:8080
, right?