I have an application server at work that can accept http request only from localhost.
At home I access the server through ssh.
Once on the server I can curl http://localhost/test.html
I would like to do the same from my web browser at home, i.e. in some way redirect my browser traffic over ssh and access test.html as if I were on the server.
I tried ssh -v -D 9090 user@xx.xx.xx.xx
and after I set a manual proxy in Firefox over a SOCKS v5 host: on ip: 127.0.0.1 and port 9090
I see something going on in ssh debugging but it looks like is not redirecting to the 80 server port
Best Answer
The right syntax for create an SSH tunnel is this one:
So according to your output the command should be something similar to this:
After establish the tunnel you don't need to configure anything on firefox just type in the URL http://localhost:9090
Hope this help