Forum Discussion
RiverFish
Dec 09, 2019Altostratus
We pieced this together. Hopefully it will work...
when HTTP_REQUEST {
if { [HTTP::header exists "DEST-IP"] } {
set DEST-IP [HTTP::header "DEST-IP"]
log local0. "HTTP request DEST-IP: $DEST-IP"
node $DEST-IP 443
} else {
log local0. "No DEST-IP header found"
drop
return
}