Allow_nets extra field
This is a comma separated list of IPs and/or networks where the user is allowed to log in from. If the user tries to log in elsewhere, the authentication will fail the same way as if a wrong password was given.
IPv6 addresses are also allowed. IPv6 mapped IPv4 addresses (eg. ::ffff:22.214.171.124) are converted to standard IPv4 addresses before matching. Example: allow_nets=::1,2001:abcd:abcd::0:0/80,126.96.36.199