If your network uses SOCKS servers to provide access to networks that are outside the firewall for the network, you can configure Cisco TCP/IP Suite so that the FTP Client and Telnet applications use the SOCKS server. This configuration is different from the firewall proxy capabilities of FTP Client. If you are using SOCKS servers, do not use the FTP proxy firewall support to identify the SOCKS server.
To configure Cisco TCP/IP Suite to use SOCKS servers, you must create the SOCKS.DAT file in the directory indicated by the Directory setting in the [ConfigurationFiles] section of MULTINET.INI.
The SOCKS.DAT file should contain these settings (all settings can be in mixed-case):
Your user name. This is only used for auditing purposes. The SOCKS server does not validate users based on user name. This setting is optional, but if you use it, it must come before any settings that indicate a destination. For example:
username=daisy
The IP address of the SOCKS server, for example:
socks_server=172.168.34.55
default IP-address IP-mask
Target systems that are connected to through a SOCKS server. Sockd identifies specific addresses that must be connected to through the SOCKS server. Default identifies addresses that should not be connected to through the SOCKS server.
IP-address is the IP address of target hosts. The number 0 is a wild card you can use to indicate a set of IP addresses. For example, the address 172.168.22.0 would match addresses 172.168.22.1 through 172.168.22.255.
IP-mask further delimits the IP-address field by determining which bits of the IP address are considered when determining if a target address matches the setting. A mask of 255 in an IP address octet matches all values; a mask of 0 matches no values. For example, 255.255.255.255 indicates that all addresses that match the IP-address field match, whereas 0.0.0.0 indicates that no addresses match the IP-address field.
You can add full-line comments to the SOCKS.DAT file by putting the pound (#) character in the first column of the comment line.
You can add comments to a line that contains a setting by putting a semi-colon (;) character before the comment. Ensure there is at least one space between the setting and the semi-colon.
This is an example of a SOCKS.DAT file:
# SOCKS.DAT Sample Configuration for SOCKS servers
username=daisy
socks_server=172.168.34.55
sockd 172.168.44.0 255.255.255.255 ;44 subnet uses SOCKS
sockd 172.168.33.0 255.255.255.127 ;33 subnet below 128 uses SOCKS
default 0.0.0.0 255.255.255.255 ;no other addresses require SOCKS
HTML file generated May 15, 1996.