Forum Discussion
lardyboy_lardyb
Nimbostratus
Dec 15, 2004inserting client ip address into header when using SNAT
iRules novice here !!
I have a need to add the real client IP into the HTTP header when using a SNAT rule, but I need to do it dynamically. this is due to the upstream proxy using clie...
unRuleY_95363
Jan 19, 2005Historic F5 Account
Ok, this error is very misleading and I have created a bug entry for us
to clarify the error message.
What is going on is that you have used the HTTP::header command in a
rule event where it's not normally allowed (unless you are using the
FastHTTP profile).
I'm not sure what you have done as my original example had it in the HTTP_REQUEST event, perhaps you inadvertantly put it in a CLIENT_ACCEPTED event?
You do need to have an http profile on the virtual for the HTTP_REQUEST event to work, but you do not need a FastHTTP profile.
If you were using the HTTP_REQUEST event but did not configure the http profile on the virtual, then the error would look like this:
01070394:3: HTTP_REQUEST event in rule (preserve_client_ip) requires an associated HTTP or FASTHTTP profile on the virtual server (myvirt).
Also, note that FastHTTP will not work with SSL termination.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects