Skip to main content
Oguzhandag
New Member
May 5, 2021
Question

IP address logging behind Fortigate 30E

Hello, I have an application that logs the IP addresses of users that access it. When the application is put behind a Fortigate 30E firewall, it only logs IP address of the firewall. Is there a policy that I can apply to forward the actual IP addresses of the users to the application?

    4 replies

    SJFriedl
    New Member
    May 5, 2021

    Oguzhandag wrote:

    Is there a policy that I can apply to forward the actual IP addresses of the users to the application?

    My suspicion is that the firewall rule allowing the access has the NAT setting turned on, which does exactly what you're seeing. NAT is often unnecessary, especially with a Virtual IP that *already* does NAT.

    lobstercreed
    New Member
    May 6, 2021

    Exactly as Steve said.  This confuses a lot of novices, but never enable on NAT on an "incoming" (from the Internet) rule.  Never.  NAT is for outgoing only.

    Richie086
    New Member
    May 10, 2021

    I am having the same issue.   I need to be able to forward the IP address of the host making a request to servers behind our FortiGate 100E firewall and we are only seeing the firewall's IP instead of the IP address from the host making the request.  

    Oguzhandag
    New Member
    May 24, 2021

    Thanks, turning off NAT solved the problem.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT