Hi Arpit
I need information on your exact requirement.
You have mentioned you are not able to see the user IP. "In the proxy, i am not getting the actual IP address and getting load balancer IP which is F5 IP. In F5 we have already enable the X-forwarder for header but still we are not getting user ip details."
(1) Exactly where you are not getting user ip details? In access logs or in active connection list or at any other place, please provide specific info.
(2) Have you created web access layer policy rules based on client IP and those are not working as expected?
(3) If the answer to question 2 is yes then you need to follow the article that has been shared by you in starting of this discussion. And following the same rule configuration, if it is still not working then need to proceed with the investigation of whether F5 adding a header or not.
Best Regards
Ankit
Original Message:
Sent: Nov 16, 2022 11:46 PM
From: Arpit Dave
Subject: Not able to see the User IP after enabling the X forwarder in F5
Hi Ankit,
Can you please help me with the policy need to be configured in proxySG.
Thanks
Arpit
Original Message:
Sent: Nov 16, 2022 03:25 AM
From: Ankit Kansara
Subject: Not able to see the User IP after enabling the X forwarder in F5
Hi Arpit
You can use policy rules based on the detail of the X-forwarded-for header.
But first, it is needed to confirm whether F5 is adding a header or not. You can capture unfiltered ( because source IP is already NATed and all traffic comes to proxy with F5 IP now) pcap on Proxy. And from unfiltered pcap you can check for any web request to proxy is there X-forwarded-for header exist or not.
Original Message:
Sent: Nov 15, 2022 11:08 PM
From: Arpit Dave
Subject: Not able to see the User IP after enabling the X forwarder in F5
If we disable NAT in the F5 then can't use browsing. how Proxy can be read the Http header is there any configuration
Original Message:
Sent: Nov 12, 2022 09:03 AM
From: Terence MAJKOWSKI
Subject: Not able to see the User IP after enabling the X forwarder in F5
Hello,
This is not a proxy issue but on the F5 VIP itself, from your statement I think you simply need to disable source nat on the F5 VIP
Best regards,
Furil