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

    [SOLVED-Not Possible] NAT Outbound rules with SNAT WAN Address

    Scheduled Pinned Locked Moved NAT
    9 Posts 2 Posters 546 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.
    • N
      Nono_
      last edited by Nono_

      EDIT: With a SNAT network (when WAN ip address is different from the external IP) using Automatic Outbound Rules isn't possible

      Dear forum members,

      my pfsense (2.4.4-p3) is behind a nated network like this :
      WAN address: 100.0.0.10 (GW: 100.0.0.9)
      Public IP: 45.0.0.1

      Therefor, I can't reach outside with the NAT Outbound "automatic" rules, because by default, the 'NAT Address' is set to 'WAN address', and not my NATed 'Public IP'.

      Is there a way to use the Automatic Outbound rules and stating somewhere that the NAT address should be my public IP instead of my "real" WAN address ?

      Regards,

      Nono

      DaddyGoD 1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @Nono_
        last edited by

        @Nono_

        Hi,

        There is little information, but ...
        Will you allow me a stupid question?
        are you really using these IP ranges or is this just an example?

        These are not free-to-use IP ranges, since:
        https://www.speedguide.net/ip/100.0.0.1
        https://www.speedguide.net/ip/45.0.0.1

        The proposal is the RFC1918 range:
        https://en.wikipedia.org/wiki/Private_network

        and at the very end I would like to mention the new version of pfSense: 2.4.5 -p1
        https://forum.netgate.com/topic/154337/pfsense-2-4-5-release-p1-now-available

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        1 Reply Last reply Reply Quote 0
        • N
          Nono_
          last edited by

          Hi @DaddyGo :
          It's NOT the real IP. I just "simplified" them (and not disclose the real one).

          I just upgraded to 2.4.5-p1 following my initial post.

          DaddyGoD 1 Reply Last reply Reply Quote 0
          • DaddyGoD
            DaddyGo @Nono_
            last edited by

            @Nono_

            Hi Nono,

            "my pfsense (2.4.4-p3) is behind a nated network"

            and then there is no need to change the IPs, because they are not the real public IPs
            am I correct? (but also RFC?)

            if you've done the upgrade, please come back and provide more specific information so we can see better as you're struggling....

            tell me if I misunderstand you, these days it often happens to me ☺

            Cats bury it so they can't see it!
            (You know what I mean if you have a cat)

            N 1 Reply Last reply Reply Quote 0
            • N
              Nono_ @DaddyGo
              last edited by

              @DaddyGo not sure what's information you need ?
              The configuration is the same as my other topic (solved) here :
              https://forum.netgate.com/topic/150333/solved-dns-forwarding-behind-s-nated-network
              Also, my current configuration work. I just have to use manual outbound rule & change the NAT Address

              My question is simply :
              By default, the Automatic Outbound Rules set (all) the "NAT Address" as the "WAN Address".
              But in my case, the WAN Address is not the Public IP, so I have to edit them manually.
              Is there a way to set that the "Automatic OUtbound Rules" should use my alias "External IP" as NAT address instead of using the "WAN address" setup on the WAN Interface configuration ?

              DaddyGoD 1 Reply Last reply Reply Quote 0
              • DaddyGoD
                DaddyGo @Nono_
                last edited by

                @Nono_

                BTW, I don't read old posts from others...
                unless, I am specifically interested in the theme

                is included in the name - "Automatic Outbound Rules", it works from what you have already configured once, by default with the appropriate rules and interfaces

                You can configure Manual / Advanced Outbound NAT Settings the way you want, of course following the principles

                such as Hybrid Outbound NAT, you can configure this, but you can't configur the ones created automatically

                fed921ac-2150-4fa4-a272-af850f3084e9-image.png

                d263a7ba-aead-4084-b8f2-1d8d792f6be8-image.png

                1c5b13ff-ce7f-42ef-abec-8098c64df61e-image.png

                by the way, everything is described here:
                https://docs.netgate.com/pfsense/en/latest/nat/index.html

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

                1 Reply Last reply Reply Quote 0
                • N
                  Nono_
                  last edited by

                  the fact is :
                  "Automatic Outbound Rules" does NOT work in my case.
                  I HAVE to use "Manual Outbound NAT", and edit all the rules, to change the "NAT Address" manually, to my public IP, like this :
                  0a1fd522-2ae8-41be-ac28-8839571a4543-image.png

                  My understanding is, the Automatic Outbound Rules is taking the 'ip address" that I set on the interface configuration, which, on my case, isn't the same as the NAT address:
                  9f7ea15c-7d22-45c6-8198-5fd89168a8e1-image.png

                  Is this possible, or not ?

                  DaddyGoD 1 Reply Last reply Reply Quote 0
                  • DaddyGoD
                    DaddyGo @Nono_
                    last edited by

                    @Nono_ said in NAT Outbound rules with SNAT WAN Address:

                    My understanding is, the Automatic Outbound Rules is taking the 'ip address" that I set on the interface configuration, which, on my case, isn't the same as the NAT address:

                    You understand exactly!

                    but pls. don't use these IP addresses!
                    RFC1918 is a standard and all manufacturers respect the internal (private) address range
                    because of this, many tools, devices will not understand what you want to achieve
                    you are not more secure, if you use another dedicated address space internally

                    this is especially true if you want to access your system from the outside

                    Cats bury it so they can't see it!
                    (You know what I mean if you have a cat)

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nono_ @DaddyGo
                      last edited by

                      @DaddyGo thanks for the confirmation.
                      But again, those aren't the real IP (and anyway, forced by my provider), so nothing I can do here.

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