I have the following in my .htaccess file to only allow certain ip addresses access to wp-admin.
It works fine but my ISP is constantly changing my IPV6. I would like to be able to use the first two octets and use wildcard for the rest.
I have looked everywhere for an answer that works.
<Files wp-login.php>
# set up rule order
order deny,allow
# default deny
deny from all
allow from 100.200.20.52
allow from 70.90.110.130
allow from 2001:183:4c25:3990:99g0:pp06:rbc5:999b fictitious address.
# Add additional IPs for access here