/ACCEPT {=[NO]HOSTS=(hosts) | =[NO]NETWORKS=(networks)}
Optional. Default: Offers the service to all hosts on all
networks.
o /ACCEPT=HOST=(host)
- Grants host or hosts access to the service.
- Denies access to all other hosts.
o /ACCEPT=NOHOST=host removes access to the service for a host
that previously gained access with /ACCEPT=HOST.
The following options are available:
Option Meaning
HOSTS=hosts Makes the service available to the specified
hosts.
Denies all other hosts access to the service.
Maximum is 32.
NOHOSTS=hosts Removes the specified hosts from the accept
list so they cannot gain access to the
service. You can specify a wildcard character
(*) in place of the hosts list to remove all
hosts from the accept list.
Maximum is 32.
NETWORKS=networks Makes the service available to the specified
networks. Denies access to the service to all
other networks.
Maximum is 16.
For each network, you can optionally specify
the network mask. The default network mask
equals network's class number. For example,
for the network 11.200.0.0., the default mask
is 255.0.0.0.
NONETWORKS[=networks]moves the specified networks from the
accept list so they cannot gain access to the
service. You can specify a wildcard character
(*) in place of the networks list to remove
all networks from the accept list.
Maximum is 16.
For each network, you can optionally specify
the network mask. The default net mask equals
network's class number. For example, for
network 11.200.0.0., the default mask is
255.0.0.0.
/ACCEPT=NONETWORKS=(net1_name,net2_address,net3:net3mask)