Forum Discussion
SWJO
Jun 05, 2019Cirrostratus
Hi
when HTTP_REQUEST {
if { [HTTP::header exists X-Forwarded-For] } {
if { [class match [HTTP::header X-Forwarded-For] equals my_external_ip] } {
HTTP::header remove X-Forwarded-For
}
}
else {
return
}
}
I didn`t test this rule. but this form would be work.