ssh tunneling = fast browsing
By Rayed
A while ago I tried tunneling proxy conection though ssh, you asked why … because ssh have a neat compression feature, it will compress all ssh communication between your client and the ssh server, and by tunneling HTTP proxy trafic through ssh you can speed up HTML page loading time, you can really see the difference.
Any way I had a problem of having to run ssh client every time I want to use the Internet, even when you want to check one small thing, it was kind of anoying to change the proxy from the localhost (thought tunneling) and connecting directly to the SAUDI NET proxy server.
Today I invested sometime to build small proxy auto configuration script, that will try to use the local proxy (compressed & tunneled) and if it fails it will try to connect directly to the proxy, here is the script, give it a try it really makes thing FAST.
// proxy.js save this file in localy and
// point your browser auto config to it
function FindProxyForURL(url, host) {
if (isPlainHostName(host) ||
dnsDomainIs(host, ".saudi.net.sa")) return "DIRECT";
return "PROXY localhost:8080; PROXY proxy.saudi.net.sa:8080;";
}