Load Balance source address from PVWAs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Load Balance source address from PVWAs

L2 Linker

Has anyone had any luck getting the correct source IP for logins on Load Balanced PVWAs? I have tried what was called out in "https://community.cyberark.com/s/feed/0D52J00006Sh6YjSAJ" but that did not produce any results. We are using F5s and we are having SSL terminate on them if it matters. If anyone has had it work please let me know, its starting to drive me nuts.

19 REPLIES 19

L1 Bithead

Do you need to record the source IP of users logging on through the load balanced PVWA ?

Or is the requirement to make them connect to same PVWA again (e.g. after a disconnect) ?

I am looking for the source IP of the last login

We are also facing same issue. in PVWA Portal "Source IP of last sign in" showing Load balancer IP instead id client IP.

 

In IIS logs we are getting the Client IP in X-Forwarded-For Header field and We have added the "<add key="LoadBalancerClientAddressHeader" value="X-Forwarded-For" /> " in Web.cofig .still showing the Load Balancer IP

 

L2 Linker

For those still looking for the answer to this, refer to "Central Credential Provider Implementation Guide". The section "Load Balancing the Central Credential Provider" contains this step -

 

On the Central Credential Provider server, in the folder where the web service was installed, open the web.config file and edit the list of trusted-proxy IPs (TrustedProxies).

No Dice. I tried this several times and reconfirmed again in V10.8 that it will not forward on the correct IP. Everything just shows the VIP IP

Might be a bug ? Did you check with CyberArk support for an answer.

Be sure you are editing the correct web.config in "C:\inetpub\wwwroot\AIMWebService". The first time I editted the one in the file in "C:\inetpub\wwwroot" which didnt work.

Just verified on 10.4 with CCP and PVWA and I see the source IP

 

Added below entry to web.config

<add key="LoadBalancerClientAddressHeader" value="X-Forwarded-For" />

<add key="TrustedProxies" value="VIP IP"/>

Path :

PVWA- C:\inetpub\wwwroot\PasswordVault

CCP - C:\inetpub\wwwroot\AIMWebService

 

Hope it helps

No luck. Here is the PVWA web.config

 Field_Content_versions_oct20__0682J000005ijO4QAI.png

And PVWeb is still showing only the VIP IP. Which is what is under the black bar. I had reached out to our customer success rep and last I talked to him it was still a known bug.

is there a documented place for this bug to confirm its actually a bug?

Hi vvasa,

 

Are your PVWAs behind F5 LoadBalancer ?

 

Regards

The environment I tested was load balanced through netscaler

We use F5 in our implementation. I noticed you have the trusted proxies statement in a different place than we do.

 

in C:\inetpub\wwwroot\PasswordVault

<appSettings>

  <add key="LoadBalancerClientAddressHeader" value="HTTP_X_Forwarded_For" />

 

C:\inetpub\wwwroot\AIMWebService

<configuration>

 <appSettings>

  <add key="AppID" value="AIMWebService"/>

 

  <!-- Set trusted proxies IP address list (Allows for IP authentication for proxied applications)-->

  <add key="TrustedProxies" value="192.168.1.1"/>

 

This is done so our AIM whitelist can operate against the endpoint. Previously the the AIM logs reflected the F5 LB address as the traffic source.

 

Hi Gcann,

 

You mentioned your AIM logs are now showing the traffic source, but what about PVWA? can you see the source IP of source traffic and not F5 for PVWA?

 

In my web.config in C:\inetpub\wwwroot\PasswordVault I have :

 

<appSettings>

  <add key="LoadBalancerClientAddressHeader" value="X-Forwarded-For" />

  <add key="TrustedProxies" value="F5 IP are listed here" />

 

Is the "value =" in above line is VIP for main PVWA URL or F5 IPaddresses ?

 

Please advise.

 

 

 

 

Regards,

 

  • 2812 Views
  • 19 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!