Penetration Testing Wiki
If you are using Cloudflare as first line of defense, and want to restrict by IP in the Apache webserver behind. Add this to your .htaccess:
SetEnvIF X-Forwarded-For "184.108.40.206" AllowIP
Require env AllowIP
How useful was this post?
Click on a star to rate it!
Average rating 0 / 5. Vote count: 0
No votes so far! Be the first to rate this post.
pentestwiki.org is a site dedicated to professional penetration testing, offensive security, ethical hacking and cybersecurity in general.
© 2022 DEFENSAHACKER Academy