1, There has 2 hosts which are hostA and hostB, both Linux distribution and openSSH installed;
2, hostA cannot access the public internet, but it can access hostB via ssh;
3, hostB can access the public internet, but due to firewall, if hostB want to access webpage (e.g. stackoverflow.com), we have to setup the http proxy on hostB first, this can be done either by export http_proxy=http_proxy_server:8000 in terminal, or set the http proxy on firefox with the proxy_server ip and port 8000;
4, I can setup a ssh tunnel/socket proxy by perform "ssh -D 7030 gemfield@hostB" on hostA and then set the socket proxy(localhost:7030) on firefox on hostA, but hostA still cannot access the webpage;
5, how to configure hostB(or hostA) to let firefox on hostA can access the webpage via the ssh tunnel/socket proxy?