Authorization rules contain the verb allow or deny, usually
in the following syntax, where source and destination are
hostnames according to the rules stated in section
:
source allow destination
source deny destination
As noted, source refers to the requesting host and destination to the requested host. This allows gwcontrol to control connections among local machines on your network or between local machines and the Internet, and to control outside access to your local network. Hosts can be specified by using the following types of syntax:
For each of the two fields above, source and destination, multiple hosts can be designated within the same field by separating entries with commas, with or without separating spaces:
alpha, .industry.com allow 192.48.145.1, 192.24
This rule specifies that local host alpha and all hosts in the Internet domain .industry.com are permitted to connect to the individual host with IP address 192.48.145.1 and to all hosts on the 192.24 Internet subnet.
Note that specifying more than one host in the source field
subjects them all to the same time thresholds. A connection from
any of the hosts in the list will increment the count. See Section
for more information about thresholds.