Forum Discussion

lardyboy_lardyb's avatar
lardyboy_lardyb
Icon for Nimbostratus rankNimbostratus
Dec 15, 2004

inserting 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 client IP addresses to determine policy for web browsing. I understand this can be done somehow using iRules and remote_addr or something - only thing is I am not a software type geeza, so programming for me is like coming to terms with 3 heads !!

 

 

has anyone done this before and maybe supply some code, or can anyone shed light on what is needed? help oh help !!