Skip to main content
xshkurti
Staff
Staff
September 25, 2024

Technical Tip: How to view/log actual client IP on FortiProxy FortiView when traffic is received from another proxy with X-fowarded-for enabled

  • September 25, 2024
  • 0 replies
  • 774 views
Description This article describes how to view real client IP on FortiProxy when user is hidden behind another proxy device with x-forwarded HTTP headers configured to send ClientIP inside HTTP headers
Scope FortiProxy 7.0+
Solution

The solution below is designed to help find real clientip that is hidden from another proxy that is forwarding clientip inside http headers.

 

A simple network diagram is represented below:


Proxy-ClientIP.png

 

To view the Real IP of the client which is located inside HTTP headers, navigate to Log & Report -> Http Transaction Log:

 

                                          Proxy-Log.png

 

In the main view, select Configure Table. By default, it is not visible but can be activated by hovering the mouse on top of it.

Proxy-Table.png

 

Select Client IP from the column options and apply the change:

 

Proxy-final.png

 

After this change, the Client IP Column will be visible, and all IPs will be listed here.

 

If the user has FortiAnalyzer to forward the logs, the client IP is omitted. Below is an example of the client IP showing when FortiAnalzyer is connected and when not.

 

no-fa(3).PNG

 

withfa1(3).PNG

 

This issue is resolved in FortiAnalyzer v7.2.4 and v7.4.1.

 

Related articles: 

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!