question

AndrewSkull-4680 avatar image
0 Votes"
AndrewSkull-4680 asked KeithWilliams-2431 commented

Web Application Proxy on Windows 2019 Server puts 2 IPs in X-forwarded-FOR field

Good Day All!
I've got a problem after migrating from Windows 2016 to Windows 2019 with WAP. In Windows 2016 the field X-forwarded-FOR contained only external IP of client and everything was OK. Now it has 2 IPs - the first is external IP of client and, if I'm not mistaking, source IP and port of WAP server. Example:

146.0.61.113,+172.16.173.11:59398

The problem is that ADFS server (Windows 2019) doen't show in event logs (event ids 1200, 1201, 1203, 1210...) the external IP of a client, only IP of WAP server. For example:
<IpAddress>172.16.173.11</IpAddress>
<ForwardedIpAddress />
<ProxyIpAddress>N/A</ProxyIpAddress>
<NetworkIpAddress>N/A</NetworkIpAddress>
<ProxyServer>WAP</ProxyServer>

Is this a bug or a feature? :)
Or maybe I'm missing something in a configuration?

windows-serveradfs
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you resolve it, AndrewSkull-4680?

0 Votes 0 ·

0 Answers