Quantcast
Viewing all articles
Browse latest Browse all 1466

Re : Setting proxy server based on IP address

Hi ecooper

Thanks for the post.  Here is a quick update from my development folks.
Do these Computer Configs run every 90 minutes even when not connected to the network? So if the vbs checks the IP address, I can set it to turn off the proxy when it doesn't see the office network?

I presume that you need to turnoff the proxy when the systems is at home network and turn on it back, when its in the office network. Desktop Central doesn't support to trigger the specific configurations based on IP change alone.  However, you can configure the proxy.pac (proxy settings file) like the one shown below.  Configure proxy based on the ip range, Browsers will automatically connect to proxy and use direct connection based on the ip address range.
function FindProxyForURL(url, host) 

if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0")) // Wired connection
return "PROXY 192.168.1.1:8080"; 
if (isInNet(myIpAddress(), "192.168.2.0", "255.255.255.0")) // Wireless connection
return "PROXY 192.168.2.1:8080"; 
else 
return "DIRECT"; 
}
Trust this helps.

Regards,
-----
R. Romanus Prabhu
Technical Account Manager
Device and Desktop Management Solution
Direct Support : +1 408 916 9886
Toll Free: +1 888 720 9500 (US) | 0800 028 6590 (UK) | +1 800 631 268 (AUS)
How To  |  FAQ  |  KB  |  Videos
Forum  |  Twitter  |  Blog  | Road-map

-- Try our ManageEngine Certification Program --

Viewing all articles
Browse latest Browse all 1466

Trending Articles