Using PAC File to prossess multiple IP addresses on Client machine

S

streamdemon

Hi,

I have a problem where I have multiple client machines that have VPN clients
(with split horizon enabled) on them.

We have seen on some of the PC's that the binding order of the
ethernet adapters gets reversed.

On PC1 we have.....
Ethernet Adapter1..... IP 10.1.10.x
Ethernet Adapter2..... IP 200.x.x.x (ISP DHCP Address)

On PC2 we have.....
Ethernet Adapter1..... IP 200.x.x.x (ISP DHCP Address)
Ethernet Adapter2..... IP 10.1.10.x

In the pac file we have coded...

function FindProxyForURL(url, host){
:
if (isInNet(myIpAddress(), "10.1.10.0", "255.255.255.0"))
return "DIRECT";
:
return "PROXY myproxy.com:8080";
}

This coding works great for the user on PC1. However, it appears that the
pac file uses the first address in the binding order. PC2 does not go
directly to the internet beacuse the pac file thinks the IP address is
200.x.x.x. We could attempt to fix the binding order, however, we do not
"own" the OS on the machines with Split Horizon so this would prove to be a
difficult task.

Is there any way that the pac file can be coded so that it uses the IP
addresses of both adapters?

IE:

function FindProxyForURL(url, host){
:
if (isInNet(myIpAddress(), "10.1.10.0", "255.255.255.0") ||
isInNet(myotherIpAddress, "10.1.10.0", "255.255.255.0"))
return "DIRECT";
:
return "PROXY use.myproxy.com:8080";
}

Any help would be greatly apreciated.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top