- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
01-21-2019 12:55 PM
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.
01-22-2019 11:31 PM
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) ?
01-23-2019 06:08 AM
I am looking for the source IP of the last login
02-13-2019 12:44 AM
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
07-06-2019 12:51 PM
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).
07-08-2019 06:50 AM
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
07-08-2019 07:42 AM
Might be a bug ? Did you check with CyberArk support for an answer.
07-08-2019 07:49 AM
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.
07-08-2019 08:13 AM
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
07-08-2019 08:28 AM
No luck. Here is the PVWA web.config
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.
10-29-2019 11:38 AM
is there a documented place for this bug to confirm its actually a bug?
12-30-2019 04:02 AM
Hi vvasa,
Are your PVWAs behind F5 LoadBalancer ?
Regards
12-30-2019 02:21 PM
The environment I tested was load balanced through netscaler
12-30-2019 02:47 PM
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.
12-31-2019 02:58 AM
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,
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!

