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:184.108.40.206) are converted to standard IPv4 addresses before matching. Example: allow_nets=::1,2001:abcd:abcd::0:0/80,220.127.116.11