AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20090422161417.6365f4a9@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:mail.onstor.net
NSV:
SSH:
R:<Arnaldo.Roldan@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 22 Apr 2009 16:15:39 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Arnaldo Roldan <Arnaldo.Roldan@onstor.com>
Subject: web proxy file
Message-ID: <20090422161539.010426fe@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="MP_ZxUP9.5SifsJwizyBFm8.J="

--MP_ZxUP9.5SifsJwizyBFm8.J=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a standard format file so there's at least a chance it might
also work with IE.   I don't ever recommend anyone use IE, but I
thought I would mention it ~:^)

ssh command on laptop:

ssh -N -f -L 6969:10.0.0.42:6969 onstor




Cheers,

a


If outlick mangles this, I have attached it as a text file as well.



function FindProxyForURL(url, host)

{

	if (dnsDomainIs(host, ".onstor.com")) {

		return "PROXY localhost:6969";

	} else if (dnsDomainIs(host, ".onstor.net")) {

		return "PROXY localhost:6969";

	} else if (dnsDomainIs(host, ".onstor.lab")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.124")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.42")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.122")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "liszt")) {

		return "PROXY localhost:6969";

	} else if (isInNet(host, "10.1.2.0", "255.255.255.0")) {

		return "DIRECT";

	} else if (isInNet(host, "10.2.0.0", "255.255.0.0")) {

		return "PROXY localhost:6969";

	} else if (isInNet(host, "10.3.0.0", "255.255.0.0")) {

		return "PROXY localhost:6969";

	} else {

		if (isResolvable(host)) {

			return "DIRECT";

		} else {

			return "PROXY localhost:6969";

		}

	}

}

--MP_ZxUP9.5SifsJwizyBFm8.J=
Content-Type: text/plain; name=firefox-ssh-proxy
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=firefox-ssh-proxy

function FindProxyForURL(url, host)

{

	if (dnsDomainIs(host, ".onstor.com")) {

		return "PROXY localhost:6969";

	} else if (dnsDomainIs(host, ".onstor.net")) {

		return "PROXY localhost:6969";

	} else if (dnsDomainIs(host, ".onstor.lab")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.124")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.42")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "10.0.0.122")) {

		return "PROXY localhost:6969";

	} else if (isHost(host, "liszt")) {

		return "PROXY localhost:6969";

	} else if (isInNet(host, "10.1.2.0", "255.255.255.0")) {

		return "DIRECT";

	} else if (isInNet(host, "10.2.0.0", "255.255.0.0")) {

		return "PROXY localhost:6969";

	} else if (isInNet(host, "10.3.0.0", "255.255.0.0")) {

		return "PROXY localhost:6969";

	} else {

		if (isResolvable(host)) {

			return "DIRECT";

		} else {

			return "PROXY localhost:6969";

		}

	}

}

--MP_ZxUP9.5SifsJwizyBFm8.J=--
