Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [solved] How to disable nat from lan to wan

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 5.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xhark
      last edited by

      Hi,

      I'm using pfSense to route between two networks, it works good.

      But, I want to disable the output NAT. For exemple, when a PC located on LAN talk with a machine on the WAN pfSense replace the IP address of the PC with the pfSense WAN IP. So, is it possible to keep the original IP address of the PC ?

      Thank you for your help.
      Regards

      SysNetAdmin & Blogger on http://blogmotion.fr

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Firewall –> NAT --> outbound
        enable manual rule generation.
        Then delete all auto-added rules.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • X
          xhark
          last edited by

          Is it possible to keep input NAT (firewall –> NAT --> Port forward) and disable output NAT ?

          SysNetAdmin & Blogger on http://blogmotion.fr

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Yes this should work.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • X
              xhark
              last edited by

              Thank you, it works.

              Operations :
              Go to Firewall –> NAT --> Outbound

              Check Manual Outbound NAT rule generation (Advanced Outbound NAT (AON)) and Save

              A new line appears with LAN Subnet, click on the edit button and Check the first box to disable NAT :

              Enabling this option will disable NATing for the item and stop processing outgoing NAT rules.

              Click on Save and Apply Changes.

              SysNetAdmin & Blogger on http://blogmotion.fr

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.