Configuring a Proxy to Exclude Non-Proxy Hosts
A proxy server allows indirect connection to network services for security and performance reasons. For example, you can use a proxy server to get through a firewall, and some proxies provide caching mechanisms. When you configure a proxy server for the Informatica Cloud Secure Agent, you can exclude certain IP addresses and host names from the proxy.
When you configure a proxy server for the Informatica Cloud Secure Agent, you define the minimum required settings in the Secure Agent Manager. Informatica Cloud updates the following file and adds other properties that you can edit manually:
<Secure Agent installation directory>/apps/agentcore/conf/proxy.ini
The property, InfaAgent.NonProxyHost, enables you to exclude IP addresses or host names. By default, Informatica Cloud adds localhost as the value for InfaAgent.NonProxyHost when you initially configure the proxy server:
InfaAgent.ProxyPassword=ZU8KjIzgtVrVmfRMUPzPMw\=\=
InfaAgent.ProxyNtDomain=
InfaAgent.ProxyHost=foo.bar.com
InfaAgent.ProxyPasswordEncrypted=true
InfaAgent.NonProxyHost=localhost|127.*|[\:\:1]
InfaAgent.ProxyUser=
InfaAgent.ProxyPort=12345
InfaAgent.AuthenticationOrder=
To exclude certain IP addresses or host names from the proxy, perform the following steps:
1. Open <Secure Agent installation directory>/apps/agentcore/conf/proxy.ini.
2. Update the value for InfaAgent.NonProxyHost to specify the IP addresses or host names that you want to exclude.
For example:
- - Local IP addresses:
InfaAgent.NonProxyHost=localhost|127.|[\:\:1]|123.432.
- - Host names:
InfaAgent.NonProxyHost=localhost|127.|[\:\:1]|.foo.com
Note: You can combine a list of host names and IP addresses using the pipe character (|) as a delimiter. You can also enter a wildcard to the left for host names or to the right for IP addresses.
3. Restart the Secure Agent so that the changes take effect.