Skip to main content
ehsan230564
New Member
August 21, 2021
Question

NAT disabled

  • August 21, 2021
  • 4 replies
  • 3885 views

Dear sir,

 

Can i get explained and if possible for profile policy with NAT DISABLED.

Actually i want to allow traffic through WAN interface without translating the source address.

That is allow traffic through from LAN to WAN and keep the source address as original.

 

Thanks and best regards.

 

 

 

    4 replies

    Toshi_Esumi
    SuperUser
    SuperUser
    August 21, 2021

    sure you can.

    emnoc
    New Member
    August 21, 2021

    Double sure you can, just don't enable nat on the policy that allows the traffic.

     

    e.g

     

    config firewall policy

        edit 1

            set uuid 6109d3c2-b4e4-51eb-548f-7b34dbca756a

            set srcintf "internal"

            set dstintf "wan1"

            set action accept

            set srcaddr "all"

            set dstaddr "all"

            set schedule "always"

            set service "ALL"

            set inspection-mode proxy

            set nat enable

        next

    end

     

    config firewall policy

        edit 1

            set uuid 6109d3c2-b4e4-51eb-548f-7b34dbca756a

            set srcintf "internal"

            set dstintf "wan1"

            set action accept

            set srcaddr "all"

            set dstaddr "all"

            set schedule "always"

            set service "ALL"

            set inspection-mode proxy

            set nat disable

        next

    end

    Ken Felix

     

    ede_pfau
    SuperUser
    SuperUser
    August 22, 2021

    Interesting. "Through WAN interface" does not have to mean "to the internet".

    Sending traffic to the inet without SNAT onto the public WAN interface address will prevent the return traffic from finding you (no routing of private address space in the inet).

    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!