add HTTP header with BIGIP 4.5.10 build 84
I inherited a legacy BigIP and need to allow for the use of X-FORWARDED-FOR headers.
In reviewing the documentation, it seems we should be able to add an HTTP header to the the system from the CLI.
I use the below command b pool MYPOOL {header insert "X-Forwarded-For: ${client_addr}"}
however, when I run it, I get the below error.
bigpipe: X-Forwarded-For : syntax error, refer to extended help for assistance
does not matter what I put in the place of X-Forwarded-For, gives the same error:
b pool MYPOOL {header insert "OrigClientAddr: ${client_addr}"}
bigpipe: OrigClientAddr : syntax error, refer to extended help for assistance
I have tried with and without a space before the ${client_addr},
I realize this is a bit dated, but wondering if anyone has any legacy experience.
Thanks
Nick