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

    Migrating from Pi-hole to PFblockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    2 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.
    • zenn bijiZ
      zenn biji
      last edited by

      Hi. so i have set up PFblockerNG using this guide https://www.linuxincluded.com/block-ads-malvertising-on-pfsense-using-pfblockerng-dnsbl/ . it is working right now. however, i would like to add my Pi-hole's blocklists and also some custom domains

      i also want to add some regex stuff too

      im not sure where i can do all of that. below, you will find examples of what i want to block

      [domains]

      sabavision.com (ad provider)

      plus.sabavision.com

      api.sabavision.com

      click.sabavision.com

      etc....

      [regex]

      ^khabarestan?[-.]

      ^laandings?[-.]

      etc...

      [pi-hole's own blocklists]

      https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

      etc...

      P.S. i found a forum post https://forum.netgate.com/topic/142171/block-custom-domains-in-pfblocker/5 a guy there posted a picture of "DNSBL Feeds" for me, that simply does not exist for some reason. I am running PFsense 2.4.4-RELEASE-p3 (amd64) and pfBlockerNG-devel 2.2.5_29.

      here is a screenshot : http://pasteall.org/pic/show.php?id=faf1ff5dbdb45d085a2ad44674e8bc34
      let me know if you need more information.

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        you can add list from DNSBL / DNSBL groups and press ADD, insert that link save and enable it

        for the regex stuff i found this on redmine
        https://www.reddit.com/r/pfBlockerNG/comments/d01qod/can_pfblocker_block_urls_by_regex/ez56ta3/
        This will be available in the next major release as it will utilize the Unbound python integration.

        it's 6 months old idk how are things going on about it

        update here https://www.reddit.com/r/PFSENSE/comments/fj1ks8/migrating_from_pihole_to_pfblockerng/

        Will be in the next pfBlockerNG-devel release when pfSense 2.4.5 is released.

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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