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

    How to block ads in Apple News?

    Scheduled Pinned Locked Moved pfBlockerNG
    27 Posts 6 Posters 9.0k 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.
    • P
      pfguy2018 @provels
      last edited by

      @provels
      Yes I did, and then re-ran the update and those entries disappeared. As I noted above, I also uploaded a custom blocklist following the earlier instructions, which contained all the entries in the second posting in this thread (your post). However, ads are still appearing in Apple News. There must be some other site that is delivering them?

      provelsP 1 Reply Last reply Reply Quote 0
      • provelsP
        provels @pfguy2018
        last edited by

        @pfguy2018 Probably. Can you see the properties of the ad in your browser?

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        P 1 Reply Last reply Reply Quote 0
        • P
          pfguy2018 @provels
          last edited by

          @provels

          No - the ads only show up in the dedicated Apple News app (Mac or iOS). When you click on them, some info comes up from Apple describing what information is shared with the advertiser (as it turns out, not much, and not any personal information), but there is no indication as to the source of the ad.

          provelsP 1 Reply Last reply Reply Quote 0
          • provelsP
            provels @pfguy2018
            last edited by

            @pfguy2018 Nothing else to offer, except maybe try in Safari and see if blocked. Maybe they are just built into the app.

            Peder

            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

            NogBadTheBadN 1 Reply Last reply Reply Quote 0
            • NogBadTheBadN
              NogBadTheBad @provels
              last edited by

              @provels

              That would be my guess as well.

              Andy

              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

              1 Reply Last reply Reply Quote 0
              • P
                pfguy2018
                last edited by

                Popping back in to answer my own question, in case any others run into this issue. It turns out that adding iadcontent.apple.com and news.iadsdk.apple.com to the blocklist, and then rebooting my iDevices, was the trick. Now seem to be blocking ads in the Apple News app (fingers crossed that this lasts...)

                Full process was as follows:

                1. Following instructions above, created file AppleAdBlockList.txt containing following entries:
                  127.0.0.1 localhost
                  ::1 localhost

                [Apple ads]

                127.0.0.1 metrics.apple.com
                127.0.0.1 advertising.apple.com
                127.0.0.1 banners.itunes.apple.com
                127.0.0.1 ca.iadsdk.apple.com
                127.0.0.1 cf.iadsdk.apple.com
                127.0.0.1 cs.iadsdk.apple.com
                127.0.0.1 iadmoo.apple.com
                127.0.0.1 iadsdk.apple.com
                127.0.0.1 su.iadsdk.apple.com
                127.0.0.1 tr.iadsdk.apple.com
                127.0.0.1 ut.iadsdk.apple.com
                127.0.0.1 securemetrics.apple.com
                127.0.0.1 iadcontent.apple.com
                127.0.0.1 news.iadsdk.apple.com

                1. At Diagnostics -> Command Prompt, used the upload button to upload this file

                2. At the same screen, used Execute Command Shell with the following command: mv /tmp/AppleAdBlockList.txt /var/db/pfblockerng/AppleAdBlockList.txt

                3. Created new group under pfBlockerNG -> DNSBL -> DNSBL Groups pointing to the file at /var/db/pfblockerng/AppleAdBlockList.txt

                4. Ran a Reload under pfBlockerNG -> Update

                Hope this will be helpful to the next person who encounters this issue.

                R 1 Reply Last reply Reply Quote 1
                • R
                  rkbest @pfguy2018
                  last edited by

                  @pfguy2018 Is this still a working solution? I want to bloack ads on my ios devices and apple apps too.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    pfguy2018 @rkbest
                    last edited by

                    @rkbest
                    Seems to still be working on my end.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rkbest @pfguy2018
                      last edited by

                      @pfguy2018 It seems, the last two and few more entries are already on the adaway blocklist.
                      The following were not and maybe those are working for you.
                      Adding for reference:
                      127.0.0.1 metrics.apple.com
                      127.0.0.1 advertising.apple.com
                      127.0.0.1 banners.itunes.apple.com
                      127.0.0.1 cs.iadsdk.apple.com
                      127.0.0.1 iadmoo.apple.com
                      127.0.0.1 su.iadsdk.apple.com
                      127.0.0.1 securemetrics.apple.com

                      Will update after i am able to use custom list.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rkbest @rkbest
                        last edited by rkbest

                        @pfguy2018 that update command throws an error on my end.

                        Parse error: syntax error, unexpected 'var' (T_VAR) in /tmp/user_code/7qDq0q on line 7ode_text
                        

                        With this command as suggested

                        mv /tmp/AppleAdBlockList.txt /var/db/pfblockerng/AppleAdBlockList.txt
                        
                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pfguy2018 @rkbest
                          last edited by

                          @rkbest
                          Hmm. There have been a few pfSense and pfBlockerNG updates since the instructions were posted. I wonder if something has changed that would affect that command. Unfortunately, I am not knowledgable enough to troubleshoot that - I was basically following a recipe to make this work. Sorry I can't be of more help here.

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