Purpose
The purpose of this document is to show how to manually set proxy information in the configuration files for advanced issues caused by proxies.
Before editing the config files you will need to go through few steps:Verifying Proxy Settings for Download Issues in Shavlik Protect
Description
Shavlik Protect has a web service that Agents and the console itself talk to. The console talking to the service is all local traffic. You want to do two things on the Console machine so internal addresses do not run into issues. In your IE connection settings under LAN Settings, proxy settings, check bypass proxy for local addresses or you can add the console to the bypass specific address list under advanced if you do not want to bypass all local addresses. For the services you need to do a manual config file modification.
Resolution
You will find the following files in the location of your Program Files. By default, the files will be in C:\Program Files\Landesk\Shavlik Protect.
1 - Modified the "ST.ServiceHost.exe.Config" file, adding the following section before the </configuration> tags:
<system.net>
<defaultProxy>
<proxy proxyaddress="http://**PROXY**:**PORT**" bypassonlocal="true" />
<bypasslist>
<add address="127.0.0.1" />
<add address="**PROTECT_CONSOLE_NAME**" />
</bypasslist>
</defaultProxy>
</system.net>
2 - Modified the "ST.Protect.exe.config" file, adding the following section within the existing "system.net" tags:
<defaultProxy>
<proxy proxyaddress="http://**PROXY**:**PORT**" bypassonlocal="true" />
<bypasslist>
<add address="127.0.0.1" />
<add address="**PROTECT_CONSOLE_NAME**" />
</bypasslist>
</defaultProxy>
Impact/Risks
Make sure to save a copy of your config file before modifying them - we recommend you to contact the Support to be assisted in that process.
If you edit the information in the config files as mentioned in step three, be aware that you have now hardcoded the information that Protect uses for your proxy. If you make changes on your network you may need to go back and edit these files again at a later date.
Affected Product(s)
Shavlik NetChk vProtect
VMware vCenter Protect
Shavlik Protect
Attachment
A set of configuration files are attached to this article in order to provide an example - having something concrete will help to see what is the outlook of those files after the modification.