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

    Feature request - System Aliases

    General pfSense Questions
    4
    14
    1.0k
    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.
    • W
      Wolfgangthegreat
      last edited by Wolfgangthegreat

      I added the following feature request at https://redmine.pfsense.org/issues/14911 :

      Hello,

      I wish to ask for something I call "System Aliases".

      At times there is a need to have a list of IPs and/or IP ranges, of different prominent services provider, but these IPs change from time to time and they are not under any unifying FQDN.

      But, having them as one named object in pfSense, as a System Alias to use in the fw rulebase, will be awesome.

      For example, Cloudflare, which is a large cloud CDN/Proxy/WAF, and many need to allow it access to their web server, but it has many ranges, as you can see at https://www.cloudflare.com/ips/.

      It is not practical for any person or firm to manually track changes in this list and update it manually in pfSense, in a timely fashion.

      But, CF also share this data in per-line, plain text, public files:
      https://www.cloudflare.com/ips-v4/#
      https://www.cloudflare.com/ips-v6/#

      I guess Netgate can have a process to read these files in a recurring schedule, either from each pfSense device, or centrally (and the pfSense devices will read it from a pfSense server, also in recurring schedule) - and make out of it a fixed System Alias objects, like Cloudflare_IPv4 , Cloudflare_IPv6 and Cloudflare_IP_All, which users will be able to add to fw rules and they will know they will always get the exact, correct and real-time updated IP ranges that CF publish, automatically.

      Thank you.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • P
        paoloposo
        last edited by

        This feature already exists with the "URL Table (IPs)" alias type.

        W 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          Yup. See: https://docs.netgate.com/pfsense/en/latest/firewall/aliases.html#url-table-aliases

          You can also use pfBlocker for more complex feeds to create aliases.

          1 Reply Last reply Reply Quote 1
          • W
            Wolfgangthegreat @paoloposo
            last edited by

            @paoloposo I really was wondering what is this feature and now I know better.
            Still, it will be nice if Netgate will have ready objects for user just to use, out of the box, without them needing to go look for these URL sources, it will save lots of time for them.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              There are a bunch or predefined feeds in pfBlocker but not for this purpose. That might be a feature request for the package.

              1 Reply Last reply Reply Quote 1
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @Wolfgangthegreat
                last edited by

                @Wolfgangthegreat said in Feature request - System Aliases:

                https://www.cloudflare.com/ips-v4/#

                Just because this came up the other day, that list hasn't changed very often

                Apr 8, 2021:
                104.16.0.0/12 removed from ips-v4
                104.16.0.0/13 added to ips-v4
                104.24.0.0/14 added to ips-v4

                Oct 1, 2020:
                IPS were confirmed, no changes

                Jun 7, 2017:
                199.27.128.0/21 removed from ips-v4

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                W 1 Reply Last reply Reply Quote 0
                • W
                  Wolfgangthegreat @johnpoz
                  last edited by

                  @johnpoz The change interval is not the point, the idea is to have an always up-to-date and update fixed object that will always include the current correct data, whenever it is changed at the source. Peace of mind is the goal... :)

                  johnpozJ P 2 Replies Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @Wolfgangthegreat
                    last edited by johnpoz

                    @Wolfgangthegreat yeah I hear ya - and in that thread I went over exactly how to update the alias once a day if you want..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • P
                      paoloposo @Wolfgangthegreat
                      last edited by paoloposo

                      @Wolfgangthegreat I understand why you would want this feature, but I don't think that it's in the scope of the pfSense core functionality. This would be more suited for a package in my opinion.

                      johnpozJ 1 Reply Last reply Reply Quote 1
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @paoloposo
                        last edited by johnpoz

                        @paoloposo the pfblocker alias system is for sure a step above alias built in feature.. But this has been part of pfsense since like the get go I believe. I really have never seen a firewall that did not allow you to create objects.. Be it single port or IP, or groups of them, etc.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          paoloposo @johnpoz
                          last edited by

                          @johnpoz said in Feature request - System Aliases:

                          @paoloposo the pfblocker alias system is for sure a step above alias built in feature.. But this has been part of pfsense since like the get go I believe. I really have never seen a firewall that did not allow you to create objects.. Be it single port or IP, or groups of them, etc.

                          I'm afraid I'm not sure how your reply relates to my post 😅

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @paoloposo
                            last edited by johnpoz

                            @paoloposo your saying aliases shouldn't be a part of a firewall core features.. Every firewall I have worked on has this feature, as pfsense does.. So yeah it is part of the "core" features..

                            BTW - here is the post from 3 days ago where I went over exactly what the OP was asking about

                            https://forum.netgate.com/post/1131065

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              paoloposo @johnpoz
                              last edited by

                              @johnpoz Oh, I think you misunderstand. Aliases should absolutely be part of pfSense. What I mean is that I don't see Netgate maintaining a list of pre-configured aliases for common service providers like Cloudflare, AWS, Google, etc. that comes pre-installed with pfSense, which is what OP was asking about.

                              johnpozJ 1 Reply Last reply Reply Quote 1
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @paoloposo
                                last edited by

                                @paoloposo oh my bad - yeah read that the wrong way. Yeah I don't see pfsense maintaining lists of stuff you might want in an alias..

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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