06-05-2022 05:56 AM
Hello,
We have 3 WSAs which we are planning to put behind a Load Balancer. We will be using explicit proxy mode and our policies will be source subnet based / user based. Since our LB does SNAT when passing the requests to the WSA, we are unable to see the actual client IP and write granular policies. When we checked with the LB admin, they asked if they enable XFF from their side then can the WSA extract the client IP from the XFF field and use it in its policies?. In summary does the WSA support extracting the client IP from XFF and use it in the identity policy?. If not I believe the only option is to change the WSA's default gateway to the load balancer's interface IP. Kindly advise.
06-05-2022 07:26 AM
06-05-2022 07:31 AM
Hi,
Actually my question was about XFF (x-forwarded-for) header, not about XAU header.
Thanks
Shabeeb
06-05-2022 08:26 AM
06-05-2022 09:49 AM
in user guide : User Guide for AsyncOS 14.0 for Cisco Web Security Appliances - GD (General Deployment)
Configuring Web Proxy Settings ( page 61)
Allows a Web proxy deployed as an upstream proxy to identify clients using X-Forwarded-For headers send by downstream proxies. The Web Proxy will not accept the IP address in a X-Forwarded-For header from a source that is not included in this list.
If enabled, requires the IP address of a downstream proxy or load balancer (you cannot enter subnets or host names).
Also as Ken Mentioned, you might have some concerns regarding the client authentications.
also you can capture the packet from WSA's interface to see the structure of data which is reviving to its interface, maybe you might need to configure the downstream proxy to add some data in the header.
+++++++++++++++++++++++++++++++++++++++++++++++++++
++++ If you find this answer helpful, please rate it as such ++++
+++++++++++++++++++++++++++++++++++++++++++++++++++
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