We've certain Insolvency practitioners that, because of some load balancers and proxies, are hidden away within the X-Submitted-For header and I must block all of them with Apache using mod_rewrite (I understand, we are obtaining a better solution together.) Presently, I am just delivering a 403 but Let me simply have the request overlooked altogether. How do i do that with mod_rewrite? Here's the directives I've now.

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-For} ^111.111.111.111.*
RewriteRule .* - [F]

Thanks.