Have you tried setting your browsers proxy to localhost:8000? IIRC proxies work by the browser passing the host information in another http field. The proxy is supposed to get the page based on the host field and spit it back in the same connection, everyting else remains the same. You will only be able to access mydomain.com or whatever your tunnel is set up for even if you type http://www.google.com/mydomainpages.html Your webserver should ignore the host field unless you use apache named virtual servers or equivelent (they require valid host fields). - Ben On Thu, 23 Sep 2004 23:29:07 +0100, Diego Sierra wrote: > Hi! > > I have a problem that seems someone else also must have and must be > solved, but cannot find anything on the net. > > I establish a connection to a network (mydomain.com) behind a firewall > using SSH. I setup a tunnel from localhost:8000 to webserver.mydomain.com. > > Then I type this URL in my browser "http://localhost:8000" and get the > main page from webserver.mydomain.com, but any link there start as > "http://webserver.mydomain.com/...", so any time I click on any of them > I have to change the host part to "locahost:8000" in order to go trough > the tunnel. > > So, is there anything there for rewriting the http request my computer > (windows xp) sent that can change the host part of the URL to anything I > want?. That has to be done on my local computer. > > The idea of a sort of -very light- proxy running locally may solve this. > Or may be is there a SSH client able to build a HTTP tunnel with this > funcionallity ?. > > Thanks in advance, > Diego. > _______________________________________________ > http://www.piclist.com > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist