cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1069
Views
0
Helpful
3
Replies

cisco CSS - modify http header

gavin han
Level 1
Level 1

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.

3 Replies 3

Andrew Nam
Level 1
Level 1

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

thanks but it doesn't have example to rewrite the HTTP hearder as per my requirement, could you please help.

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

Review Cisco Networking for a $25 gift card