Range

Documentation Options Range
Available in:moftpd 1.2b0-
Allowed in:<Server>
Inherited:no
Arguments:string
Cumulative option
Default:0.0.0.0/0 and ::/0 (ie. accept from all addresses)
Description: The range of client addresses this server applies to, in format address/mask. This server can only be connected from these ranges. When there's a choice which of several servers were connected to the one with the most specific applying range (highest mask) is the one choosen. However, numeric bindings are checked before hostname ones (to avoid dns lookups), so that controls the choise as well. The mask can be given either as a number (24) or an address (255.255.255.0) or a hexadecimal bit field (0xffffff00). For IPv6 you can only give the prefixlen (eg. 48).
Example:Range "1.2.0.0/16"
See also:Bind
moftpd homepage