• Any chance of adding support for this open-source blocklist project?

    6
    0 Votes
    6 Posts
    1k Views
    BBcan177B

    @motific:

    I have had a look at this feed a while back. It is pretty poor IMHO and I wouldn’t recommend it, if they included the suggested changes it would be even worse.  One of the worst things is that it just arbitrarily blocks random chunks of Microsoft services (including ones you may have whitelisted) by blocking some of the intermediate CNAME domains (like a-msedge.net)  Not to mention that some of them are not tracking servers but provide other services (like the weather for the live tile.)

    Quite a lot of the lists blocking Microsoft tracking are similarly bad,  I have to assume that they don’t test very well if at all.  Recently I’ve had to pull the Phishtank feed (supposedly a list of phishing domains), the last straw was when they added login.live.com (which is quite a useful one if you actually use pretty much any Microsoft services at all!)

    I’m not bad at tracking down the DNS responses to find the issues but for a relative novice to find a whitelisted domain suddenly blocked and showing as whitelisted in pfB it would be infuriating.

    I have always been hesitant to recommend these types of Feeds… So unless there is more feedback, I will just hold until more people chime in....

  • Converting rules to Alias type and errors when disabling package

    3
    0 Votes
    3 Posts
    420 Views
    J

    @RonpfS:

    When you disable pfBlockerNG, it removes the aliases and FW rules it created (auto-rule).
    In your case of Alias type table, you have to disable the pfb_ FW rules before disabling pfBlockerNG.

    I'm assuming this can be scripted in some way, as I have far too many to do on an individual basis…

    Found it, in the [filter][rule][0][disabled] array, when using pfSsh.php

    EDIT: i tried to disable a rule to see a change in the [filter][rule][0][disabled] variable, and interestingly enough it didn't change from being empty, i would have expected to be set to "yes". am i missing somthing?

  • Best pfblockerNG settings for best performance.

    2
    0 Votes
    2 Posts
    853 Views
    V

    Not sure of a "perfect setting"? But I suspect the "faster" your hardware and the more RAM the quicker it will run…you don't need software as it is a pfSense package.

    What I have discovered is what can make pfBlocker the best is the quality of your lists be them IPv4 or DNSBL lists.

  • PfBlockerNG Edit error page

    4
    0 Votes
    4 Posts
    932 Views
    RonpfSR

    https://forum.pfsense.org/index.php?topic=125996.0
    https://forum.pfsense.org/index.php?topic=120253.0

  • Vlans being blocked

    3
    0 Votes
    3 Posts
    877 Views
    C

    OK, I got it… thanks for clarifying that for me.

  • Turning off (or on) PFBlocer seems to then block all inbound traffic

    2
    0 Votes
    2 Posts
    352 Views
    RonpfSR

    What does the

    Status / System Logs / System / General

    Status / System Logs / System / DNS Resolver

    Status / System Logs / Firewall

    shows ?

  • Whitelist not working

    7
    0 Votes
    7 Posts
    1k Views
    J

    @BBcan177:

    Anything that is blocked is reported to the Alerts Tab… So that is where I saw it being blocking by an IBlock ADs feed... You might not have that Feed enabled? But could be in another feed....

    The "Auto" rules won't work for everyone.... There are some common boiler plate options, and if they don't fit your network design, then you need to use "Alias Type" rules and manually create the rules as required.

    Click on the blue infoblock icons in the IPv4 tab on how to do that...

    Suppressing the IPs (Only for /32 or /24 blocks) is the best choice.... so that you don't need the permit rule. But if you require the Permit whitelist, then you need to find a rule order option that puts the permit above the block... or use Alias type rules...

    There is a trick where you can edit all the pre-defined pfBlockerNG rule "descriptions", and change the prefix to "pfb_" lowercase.

    Then Disable the package.
    Edit all of the IPv4/6/GeoIP aliases to be "Alias type"
    Then re-enable the package…

    This way the rules are created by the package initially so that you don't need to manually create them all... Any rules that start with "pfB_" are managed by the package on each cron or Force command.

    Thanks, I did as you said. Replacing all the pfB_ with pfb_ in the descriptions. However, when I went to re-enable DNSBL, I don't see rules for it (including the floating one). I might of forgot to lowercase the rules associated with DNSBL…

    How would I get back the rules for DNSBL including the floating rule for the VIP? Enabling/Disabling DNSBL has no effect.

    Also after this modification when I disable pfB I get tons of notifications, am I doing something wrong here?

  • [SOLVED] Deny inbound but only log for open ports, possible?

    8
    0 Votes
    8 Posts
    679 Views
    iorxI

    Follow up:

    Works like a charm!

    For the lists: Deny on both inbound and outbound, and logging enabled.
    Advanced inbound: UDP/TCP and a port definition alias which contains my open WAN ports. Also added the most common ports and ranges which UPNP opens for devices on the inside.

    Result is a very tidy firewall and alert log with kept logging for all outbound traffic trying to connect to nasty stuff and logging for anything trying to reach my open WAN ports.

    So, mission complete.
    Brgs,

  • Different blocklists for different hosts on the LAN?

    2
    0 Votes
    2 Posts
    355 Views
    BBcan177B

    You can create "Alias type" aliases which will just create the IP table of IPs… Then you can manually create your firewall rules associating the applicable aliastable.

    You could also try to use the "Adv. In/Out" settings to fine tune the rules.

  • Whois domains some time not parsing [Resolved]

    7
    0 Votes
    7 Posts
    734 Views
    dragoangelD

    Thank you for clean answer. About not same feeds, yes it only mistake of copy-paste, this list was not alias native, but I asked about alias native in clarifying question.  :)

  • PfBlocker list import problem ….

    13
    0 Votes
    13 Posts
    3k Views
    L

    Thank you.
    I'll give that a try and post back if there are other issues.
    Thanks again.

  • Deny Outbound for IPv4, DNSBL and GeoIP?

    2
    0 Votes
    2 Posts
    2k Views
    BBcan177B

    Yes pfSense is a stateful firewall and the WAN is default deny….  When a device on the LAN makes a request outbound, it creates a firewall state, and this state allows the IP to come back thru the WAN to your LAN (IPv4)....

    So protect the Outbound... and if you open specific ports on the WAN, then you can add rules for those open ports only...

    If you add Deny Both or Deny Inbound, and there are no open ports, then all your doing is logging all the traffic that is hitting your WAN interface but it already being blocked by the default WAN Block rule... So all your doing is filling your widget and firewall/alerts logs with entries.... Best to actually review what is getting blocked without all the noise...

    The DNSBL IP is used when DNSBL Feeds contain IPs... It collects them and puts them into a firewall rule, as Unbound cannot block on an IP, it blocks via a domain name.

    So follow the same philosophy as above for this also.

  • [RESOLVED] Getting constant alerts/blocks for 255.255.255.255

    7
    0 Votes
    7 Posts
    4k Views
    BBcan177B

    See here:
        https://forum.pfsense.org/index.php?topic=135257.msg764291#msg764291

  • DNSBL - Certificate error when acccessing github.com

    5
    0 Votes
    5 Posts
    2k Views
    G

    @BBcan177:

    What does this command report:

    host -t A github.com

    You can also check if there are any subdomain being blocked.

    grep "github.com" /var/unbound/pfb_dnsbl.conf

    If there are other subdomains listed, you can prepend a "." to the domain in the whitelist and follow that with a Force Reload DNSBL.

    I got the same problem. This fixed the problem with github.
    Thanks!

  • IOS app blocked due to custom rule, forgot why I needed the rule?

    4
    0 Votes
    4 Posts
    452 Views
    R

    @frankvh:

    Looks a lot like this:

    https://forum.pfsense.org/index.php?topic=124945.0

    Reviewing that thread, it definitely seems like I input it for that reason. I modified the rule to specifically have destination 127.0.0.1 and my app works again. That seemed less harsh than modifying the code. Plus, I created the code modification (w/o updating destination in the rule) and it wouldn't let the app function.

    However, it seems to be working fine now, thanks again!

  • Question on pfBlockerNG, IPv4 Alias

    3
    0 Votes
    3 Posts
    1k Views
    B

    Thanks for your help BBcan177.  That explains it!  Sorry for taking so long to respond.

  • Source of IP block

    3
    0 Votes
    3 Posts
    610 Views
    B

    Using the command line, you can search for the domain in PfBlockerNG's DNSBL config:

    grep "SEARCH STRING HERE" /var/unbound/pfb_dnsbl.conf

    For IP, I imagine the same would work for whatever *.conf file holds that.

  • [SOLVED] exception for 192.168.0.0 addresses

    8
    0 Votes
    8 Posts
    2k Views
    BBcan177B

    The feeds which are included in lvl1:

    A firewall blacklist composed from IP lists, providing maximum protection with minimum false positives. Suitable for basic protection on all internet facing servers, routers and firewalls. (includes: bambenek_c2 dshield feodo fullbogons spamhaus_drop spamhaus_edrop sslbl zeus_badips ransomware_rw)

    So instead of using lvl1, find those original feed urls and add those to a new IPv4 alias. The lvl1 feed includes bogons which should not be used to block outbound traffic.

  • Loose ablility to access internet with pfBlockerNG?

    7
    0 Votes
    7 Posts
    1k Views
    RonpfSR

    If you do

    nslookup doubleclick.net Serveur :  pfsense.somewhere Address:  172.47.18.71 Nom :    doubleclick.net Address:  10.10.10.1

    you should see your pfsense box replying.
    If not then either your pfsense configuration for DNS service is incorrect, or your lan device use another DNS server for answer.

    Check your device DNS configuration, if you are using Internet Security like AVG, maybe they override DNS resolution. Hake a look at
    @BBcan177:

    @xphiles:

    so after much troubleshooting and trying things at the firewall level, i disabled my full avg protection and it works on the host(s) in question. so I have to granularly figure out which service in AVG is messing up my dns

    I think this is what you were looking for:
        https://help.avg.com/en/avg_free/17/securityantivirus_securedns.html

    You can configure pfsense DCHP server to provide the correct DNS/DNSBL server for devices

  • PfblockerNG dnsbl issue

    7
    0 Votes
    7 Posts
    1k Views
    V

    I know it is a pain but I periodically have gotten pfBlockerNG DNSBL issues, I have rsolved it by: making sure "Keep settings" is not checked, then saved, running a cron "Force" reload and then rebooting firewall. I then deinstall pfBlockerNG and then reinstall…. it then works.

    A little harsh but seems to work...

    I am running DNSBL with pfBlockerNG and 2.4.1 and all is working...

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.