Replace Source ip with Real Client IP
Dear Community, lately we started working with 3rd party company that making us Application security and protection (the A-Recored pointing to the protection gateway, and then it redirect to us. because of that the source IP now is the protection IP and not our real client IP that causing me problem when we want to take out reports of pur activity customers and so on.. i know i can do that with 2 ways. 1) is to change the application so it will take the X-Real-IP, 2) to create an IRULE that will make me the following Replace the Remote Address(Source) with the X-Real-IP and if X-Real-IP not exist to take the X-Forwarded-For, and if X-Forwarded-For no exist to keep the Remote Address(source) as is
since i am very week on Irules your help is very needed here 10x!