05-04-2011 12:28 PM
hi, i need to modify http hearder with the client IP address. need to modify any of the folowing fields:
1) FROM -> with client IP address
CLIENT IP -> with Client IP address
2) X-Forwarded-For -> with client IP address
3) REMOTE_ADDR -> with client IP address
please advise how do to modify http header with option 1 or 2 or 3.
Thanks.
05-04-2011 06:08 PM
Below sample config might give you some insight of redirection.
http://www.cisco.com/en/US/products/hw/contnetw/ps789/prod_configuration_examples_list.html
regards
-Andrew
05-04-2011 07:04 PM
thanks but it doesn't have example to rewrite the HTTP hearder as per my requirement, could you please help.
05-05-2011 12:31 AM
Hi Gavin
I think I misread your question.
Question first. Is your CSS configured with one arm and doing client source natting and the server needs to see the real ip address of the client? Is that the reason why you want to insert x-forward-for header with the clients real IP address?
I did some search with CSS but the CSS doesn't seem to support this feature.
If you need to see the actual client ip address from the server, then you can do pbr from the router rather than client source natting.
regards
Andrew
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide