The situation is fairly simple. In my organization we have users with laptops for travel and home use. While in the office and logged into the domain they must use a proxy server to get access to the internet etc. However since these are laptops they frequently travel to personal residences and are plugged into standard internet connections. When plugged into a standard internet connection the laptops do not work because they are looking for the proxy server.
My question is there a way to set the proxy server settings based on wether the users are connected to our corporate domain or regular internet.