Commands to view and configure the proxy server parameters are located at the settings proxy level. These commands allow setting parameters such as adding HTTP via and forwarded headers and the timeouts for connecting to websites and downloading content. To change a proxy server parameter, use the following command (the <setting-name> is the parameter name):
Admin@nodename# set settings proxy <setting-name>
You can change the following parameters:
Parameter |
Description |
---|---|
via |
Adding HTTP Via headers:
By default, it is disabled. |
forwarded |
Adding HTTP Forwarded headers:
By default, it is disabled. |
xforwarded |
Adding HTTP X-Forwarded-For headers:
By default, it is disabled. |
connection-timeout |
Timeout for HTTP connections. The default value is 20 seconds. |
loading-timeout |
Timeout for the HTTP content download. The default value is 60 seconds. |
smode |
SYN Proxy mode:
This mode is enabled by default. |
icap-wait-timeout |
Time for a UserGate server to wait for a response from the ICAP server (in seconds). If the server response was not received within the specified time frame, and the rule action is Redirect and ignore, UserGate sends the unmodified data to the user; if the rule action is Redirect, UserGate does not send the data to the user. The default value is 10 seconds. |
proxy_host_rfc |
The following actions are available:
|
To view the current settings, use the following command:
Admin@nodename# show settings proxy