I am connecting to office network through VPN. I have two servers A and B. I have ssh/tomcat access to A through VPN but not to B. When I ssh into A, from there I can ssh into B. Also, B is running tomcat, which I can see though elinks on A.
I want to see the tomcat page of B on my remote machine browser. So I followed the instructions mentioned in this serverfault question. I ssh-ed into A using ssh user@A -D 1234, changed firefox proxy settings to localhost:1234. But instead of the tomcat page on B, I keep getting "The connection was reset" error on firefox. Also, when I try going to google, I get the same error, surprisingly facebook works ()
Chrome would only allow me to use system proxy settings, and when I changed that, I got the error "no data received" ("Unable to load the webpage because the server sent no data"). Not sure what is happening here.