I have configued OpenSSH on my Fedora Core 6 box to work as needed. Everything runs fine.
Though, i want to use it to tunnel through a firewall and use the ssh server as a form of web proxy.
Since the computer i am using to ssh from is windows, im using PuTTY Portable and Firefox Portable. I have configured PuTTY to setup a tunnel on port 5678 so all traffic goes down the SSH tunnel. I then set the proxy settings and the dns settings in about
:config so it uses this port as the proxy.
This works, i can access the Fedora box's webserver by typing localhost. I can access my routers config also by typing it's IP address, which is in the 192.168 range, meaning the only way to access it in this way is locally.
However, the problem is i can't seem to resolve internet domain names. Going to google.com does nothing, going to google's IP address though gives me a working page. I can access google through lynx in PuTTY by typing the domain name(or locally running firefox), but not in the tunneled firefox.
Does anyone know why it cannot resolve domains?
I found UseDNS in the sshd config, and tried turning that on. It does nothing.
I changed my DNS settings to opendns and this also does nothing.
So, how can i get firefox dns working when tunneled through putty?