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

    pfBlocker with Blocking Notice?

    pfSense Packages
    4
    9
    1.1k
    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
      profIT
      last edited by

      Is it possible to display a notice like "THIS WEBSITE IS BLOCKED BY ADMIN" in relation to DNSBL feeds inside of pfBlocker?

      1 Reply Last reply Reply Quote 0
      • C
        C0RR0SIVE
        last edited by C0RR0SIVE

        I assume you are referring to the DNSBL where you can define domain name lists and such? Have the DNSBL Virtual IP point to a legitimate web server IP that displays your block page and does absolutely nothing else.
        Doing that would essentially tell guests that XYZ.com is "Webserver" instead.

        This probably isn't the best method, but should suffice.

        1 Reply Last reply Reply Quote 0
        • noplanN
          noplan
          last edited by

          Firewall —> pfBlockerNG —> DNSBL

          Custom block web pages can be added to:
          /usr/local/www/pfblockerng/www/ folder.

          show us your custom page after you r done

          brNP

          P 1 Reply Last reply Reply Quote 0
          • P
            profIT @noplan
            last edited by

            @noplan said in pfBlocker with Blocking Notice?:

            /usr/local/www/pfblockerng/www/

            Hi, Thanks for your response. I have DNSBL feed lists setup. I located that path but can't see how to upload my own custom page, and then how would it display when a blocked website it pinged?

            Thanks again

            GertjanG noplanN 2 Replies Last reply Reply Quote 0
            • GertjanG
              Gertjan @profIT
              last edited by

              @profIT said in pfBlocker with Blocking Notice?:

              a blocked website it pinged?

              Ping is using ICMP packets.
              A website needs a web server and a web navigator using TCP packets.
              You already know how these two "display".

              When you ping a blocked hostname, it will resolve the hostname first.

              [2.4.5-RELEASE][admin@pfsense.mylocalnetwork.tld]/root: ping www.weknow.ac
              PING www.weknow.ac (10.10.10.1): 56 data bytes
              64 bytes from 10.10.10.1: icmp_seq=0 ttl=64 time=0.071 ms
              64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=0.057 ms
              64 bytes from 10.10.10.1: icmp_seq=2 ttl=64 time=0.051 ms
              64 bytes from 10.10.10.1: icmp_seq=3 ttl=64 time=0.068 ms
              ^C
              --- www.weknow.ac ping statistics ---
              4 packets transmitted, 4 packets received, 0.0% packet loss
              round-trip min/avg/max/stddev = 0.051/0.062/0.071/0.008 ms
              

              NB : www.weknow.ac is on the DNSBL list.
              10.10.10.1 is the pfBlockerNG web server - and that IP replies to ping ...

              @profIT said in pfBlocker with Blocking Notice?:

              how to upload my own custom page

              Activate SSH access. This is the other most important "remote console" access. You'll be needing it for important and urgent matters.
              Use an SFTP capable program - FileZilla will do the job.
              NOTE : SFTP is not FTP.

              Use FileZilla to place the file there where you want.

              Other solutions exist.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • noplanN
                noplan @profIT
                last edited by

                cb736718-5075-456d-adc5-f095b24a0892-grafik.png

                @profIT 819bbdce-eceb-4fae-b628-bdc0bddf257a-grafik.png

                teh rest like @Gertjan

                C 1 Reply Last reply Reply Quote 0
                • C
                  C0RR0SIVE @noplan
                  last edited by

                  @noplan said in pfBlocker with Blocking Notice?:

                  cb736718-5075-456d-adc5-f095b24a0892-grafik.png

                  @profIT 819bbdce-eceb-4fae-b628-bdc0bddf257a-grafik.png

                  teh rest like @Gertjan

                  Curious, I don't see that option anywhere under DNSBL on PFBlockerNG... What's the exact location? Are you on a devel version?

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @C0RR0SIVE
                    last edited by

                    @C0RR0SIVE said in pfBlocker with Blocking Notice?:

                    Are you on a devel version?

                    Of course. BBcan177 declared it stable a little bit more then a year ago.
                    That's the one with the goodies, the bonuses, and issues we know about ;)

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • noplanN
                      noplan
                      last edited by

                      whatpackage do u use ?
                      i use

                      83ec0e31-58f3-487d-8197-f296df4baed3-grafik.png

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