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

    Pfsense

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 2.1k 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.
    • H
      hari
      last edited by

      In Nat with Pfsense, how we can define internal destination ip based on the remote source IP,
      we were doing with iptables, is possible do with pfsense?

      For example if freenx connection comes to port 22 from remote x ip nat to internalA ip to port 22.

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

        sorry.
        Rulebased NAT is not possible through the gui.

        I think it would be possible if you hack it together yourself on the command line but that's not supported.

        Search the forum for more information on that.
        There are threads around how you can modify the config without loosing it everytime you reload the filer/reboot.

        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
        • H
          hari
          last edited by

          How are threads around can be modified the config without loosing it everytime you reload the filer/reboot.

          @GruensFroeschli:

          sorry.
          Rulebased NAT is not possible through the gui.

          I think it would be possible if you hack it together yourself on the command line but that's not supported.

          Search the forum for more information on that.
          There are threads around how you can modify the config without loosing it everytime you reload the filer/reboot.

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

            You add it manually to the config.xml

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.