tis 2009-08-18 klockan 03:23 -0500 skrev Bill Allison:

> For example, on a Windoze client (XP-SP3 at least) on VPN, the
> javascript function myIPAddress() will return the IP address of the
> *outside* of the tunnel

Yes, and a number of other similar situations as well.

My general recommendation is to code the needd myIPAddress logics on the
server side instead if possible. I.e. have the PAC served by a webserver
script, using REMOTE_ADDRESS as input determining where the client is
located.  But that obviously won't work very well on roadwarrior
clients..


Regards
Henrik

Reply via email to