oh.
so your VPN clients have double private addresses at work...

well, you should first match the ipaddressX:
 Code:
$ipList = $ipAddress0,$ipAddress1,$ipAddress2,$ipAddress3
for each $ip $ipList
 if "192.168." = left($ip,8)
  $subnet=VAL(SUBSTR(@IPAddress0,9,3))
 endif
next


but wouldn't this cause trouble when they are at home or somewhere where they also have same subnets?
I think you should also check for some other info, as example dns suffix for the connection...
_________________________
!

download KiXnet