At 17:05 11.11.99 +1100, Phillip Malone wrote:
>Recently we have put a proxy server in each of the offices. What I am
>after is a way to pick which proxy server a person connects to depending
>on the office they are in [...]
You could write a proxy.pac autoconfiguration containing something like:
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY proxy-for-net-1";
if (isInNet(myIpAddress(), "192.168.2.0", "255.255.255.0"))
return "PROXY proxy-for-net-2";
...
// in none of the nets we know a proxy for:
return "DIRECT";
You could also set up WPAD, the Web Proxy Auto Discovery protocol,
in each office so that clients will automatically pick up a different
proxy.pac script depending on the office they are in. Or you could
define a DNS alias that resolves differently on the different offices'
DNS servers. But I think I'd prefer the proxy.pac script solution.
-- Tilman Schmidt E-Mail: Tilman.Schmidt@sema.de (office) Sema Group Koeln, Germany tilman@schmidt.bn.uunet.de (private)Received on Thu Nov 11 1999 - 03:37:18 MST
This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT