Specifications

To configure the Gateway to use a Proxy server, edit the configuration, or remove the Proxy Server
69
Gateway Client Server Preparation
To configure the Gateway to use a Proxy server, edit the
configuration, or remove the Proxy Server
1. To view syntax for the config_agent_proxy.sh command, run:
[root@localhost Gateway]# ./config_agent_proxy.sh
--help
Usage : config_agent_proxy [args]
--add-proxy To add the agent proxy configuration
--remove-proxy To remove the proxy configuration
--http --socks Use either of them to set the Proxy Type
--proxy-host Proxy IP or Host address.
--proxy-port Proxy port number.
--proxy-user Proxy user Name.
--list To list the agent proxy details
--help To list the agent proxy help details
Example:
Add a proxy: config_agent_proxy --add-proxy --http
--proxy-host proxy.abc.com --proxy-port 3128
Remove a proxy server: config_agent_proxy
--remove-proxy
Note: If the proxy server has a username (--proxy-user) you will be prompted
for the password after executing the command. The password is not stored in
the history.
Figure 45 config_agent_proxy.sh command syntax
2. To configure the Gateway to use a Proxy server, run:
[root@localhost Gateway]# ./config_agent_proxy.sh
--add-proxy --http --proxy-host 10.241.172.13
--proxy-port 8118
Checking Proxy Connectivity... Host : 10.241.172.13
Port: 8118
ApplyProxyChangesToAgent successful.
AGENT PATH :/opt/emc/esrs2/Gateway
Privoxy user.action not modified.
Updating Privoxy config file Successful.
Error : 0 Agent Proxy configuration Successful.
Note: An Error code of 0 as above means successful; any other result
(alpha or numeric) indicates some failure to complete successfully.
Figure 46 Configuring Gateway to use a Proxy server