Format

To specify SOCKS servers that the proxy must use to reach specific origin servers, add rules to the socks.config file in the following format:

dest_ip=<ipaddress> socksparent="<alias1>" [round_ robin=<value>]

Here:

<ipaddress> is the origin server IP address or range of IP addresses separated by - or /.

<alias1> is the alias name of the SOCKS server named in the SOCKS Servers list.

<value> is either strict if you want Content Gateway to try the SOCKS servers one by one, or false if you do not want round-robin selection to occur.

To specify origin servers that you want Content Gateway to access directly, without going through the SOCKS servers, enter a rule in socks.config in the following format:

no_socks <ipaddress>

Here, <ipaddress> is a comma-separated list of the IP addresses or IP address ranges associated with the origin servers that you want Content Gateway to access directly. Do not specify the all networks broadcast address: 255.255.255.255.

Note: Each rule in socks.config can consist of a maximum of 400 characters. The order of the rules in the socks.config file is not significant.