I used to limit external access to certain http directories via the below config, within httpd.conf
<Directory "/var/www/html/some/path">
AllowOverride All
Order allow,deny
Allow from 10.0.0.0/24 ( had to add to allow use from WAF )
# Allow from ***.***.***.*** (original setup to allow certain ip's for
# external access)
</Directory>
Now that I have implemented WAF, everything is sourced from the WAF at 10.0.0.1, thus requiring the "Allow from 10.0.0.0/24"
Is there a way to simulate this at the WAF/Firewall level to only allow access to that http path from certain external ip's, denying all others?
Any insight is much appreciated!
Thanks!
<Directory "/var/www/html/some/path">
AllowOverride All
Order allow,deny
Allow from 10.0.0.0/24 ( had to add to allow use from WAF )
# Allow from ***.***.***.*** (original setup to allow certain ip's for
# external access)
</Directory>
Now that I have implemented WAF, everything is sourced from the WAF at 10.0.0.1, thus requiring the "Allow from 10.0.0.0/24"
Is there a way to simulate this at the WAF/Firewall level to only allow access to that http path from certain external ip's, denying all others?
Any insight is much appreciated!
Thanks!