Subcategories

  • Discussions about packages which handle caching and proxy functions such as squid, lightsquid, squidGuard, etc.

    4k Topics
    21k Posts
    N

    Can I use pgblockerng aliases in Haproxy?

    80758505-9bad-4dad-a80b-c159be1045a2-image.png

    If it was a firewall rule, typing pfb would produce a dropdown to select.

    Here it has to be written, but will it work? Is it supported?

  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    bmeeksB

    I saw where the Netgate kernel developer updated the Suricata package in the pfSense 25.07 development branch to work with the new kernel PPPoE driver. But so far as I know that updated package has not been migrated to 2.8 CE.

    Here is the commit into the DEVEL branch: https://github.com/pfsense/FreeBSD-ports/commit/68a06b3a33c690042b61fb4ccfe96f3138e83b72.

  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    571 Topics
    3k Posts
    K

    @pulsartiger
    The database name is vnstat.db and its location is under /var/db/vnstat.
    With "Backup Files/Dir" we are able to do backup or also with a cron.

  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    GertjanG

    @AlexK-0 said in Can't receive GeoIP databases updates anymore, banned:

    Days ago, I received from MaxMind an email, notifying me that my country has been banned to receive GeoLite City database updates.

    You've found a reason to use a VPN.

  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    99 Topics
    2k Posts
    K

    @elvisimprsntr thanks for your suggestion. I will give it a try.

  • Discussions about the ACME / Let’s Encrypt package for pfSense

    493 Topics
    3k Posts
    GertjanG

    @EChondo

    What's your pfSense version ?
    The instructions are shown here :

    1acdc586-cb29-4148-9e36-81ade4e5e60c-image.png

    A restart of a service will start by re creating their config files. If a certificate changed, it will get included. When the process starts, it will use the new certificate.

    @EChondo said in Issue with ACME Certificates Refresh & Restarting HAProxy:

    I haven't been able to confirm if the above works(mine just renewed, don't feel like doing it again just to test), so we'll see in 60 days I guess.

    No need to wait x days.
    You can re test / renew right away, as you are 'allowed' to renew a couple (5 max ?) of times per week.

  • Discussions about the FRR Dynamic Routing package on pfSense

    294 Topics
    1k Posts
    R

    I had a similar issue with Routed VTI over IPsec recently. FRR lost its neighbors after rebooting or when a tunnel went down. It never re-discovered it automatically. Only restarting FRR (either in GUI or via CLI) brought the neighbors back.

    When I manually added those under the OSPF neighbors tab in the GUI it seems to solve the problem as well.

  • Discussions about the Tailscale package

    89 Topics
    574 Posts
    A

    Hello,
    I am unable to get the Tailscale package to work. The page at VPN > Tailscale > Authentication is stuck. It displays the error "Tailscale is not online," but also shows a "Logout and Clean" button, with no option to log in.
    link text

    This state persists even after performing the following troubleshooting steps:

    Rebooting the pfSense router.

    Completely uninstalling and reinstalling the Tailscale package multiple times.

    Clearing browser cache and using a private browser window.

    Toggling the main "Enable Tailscale" checkbox in the settings.

    Checking the logs, which show the service gets a "terminate" signal and shuts down cleanly; it does not crash.

    Manually trying to delete the state file with rm /var/db/tailscale/tailscaled.state, which failed because the file does not exist.

    It appears that the package's configuration is corrupted in a way that persists even after reinstallation. Can anyone advise on how to perform a complete manual cleanup of all Tailscale files and settings?

  • Discussions about WireGuard

    689 Topics
    4k Posts
    P

    @patient0 Thanks for further suggestions. The tunnel is definitely up and so I don't think this is a CGNAT issue after all. WAN firewall rule is in place for UDP on port 51823 (otherwise the tunnel wouldn't work, right?). I can ping from client 1 -> client 2 and visa versa and also ping all points in between like you suggest. I just can't open an HTTPS connection from pfSenseB from Client 1 using a browser. But I can do this the other way round i.e. from Client 2 to pfSenseA

    I will try and do some packet capture to see if that reveals anything.

  • 0 Votes
    1 Posts
    690 Views
    No one has replied
  • MOVED: Custom SquidGuard Error Page not working

    Locked
    1
    0 Votes
    1 Posts
    537 Views
    No one has replied
  • 0 Votes
    1 Posts
    457 Views
    No one has replied
  • How are freebsd packages displayed?

    1
    0 Votes
    1 Posts
    515 Views
    No one has replied
  • Pfblocker dashboard widget Fatal error: Unsupported operand types

    5
    0 Votes
    5 Posts
    1k Views
    N

    I also had this issue and tracked it down to a user rule that had a description beginning with the string "carp" - it appears that $matches['carp'] is used elsewhere before pfblockNG and contains an array of data related to carp interfaces

    Two possible fixes:-

    find the rule description that begins with the term "carp" and change it adjust the code to use a variable name other than $matches

    Enjoy,
    N

  • MOVED: Any plans for Snort to support FQDN aliases?

    Locked
    1
    0 Votes
    1 Posts
    476 Views
    No one has replied
  • New Package: ntopng

    Locked
    50
    0 Votes
    50 Posts
    39k Views
    jimpJ

    I split several unrelated issues off into separate threads, and I'm locking this one. Please start a new thread for each new issue rather than using a single thread.

    Thanks!

  • Pkg_add

    3
    0 Votes
    3 Posts
    2k Views
    S

    @jimp:

    For manually installing FreeBSD packages, see here: https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages

    But that won't help lightsquid. Don't do that. Follow this: https://doc.pfsense.org/index.php/Lightsquid_Troubleshooting

    If I do this, I will lose all the logs stored. The problem is with the graph it does not generate.

  • Check_mk_agent: Command not found

    2
    0 Votes
    2 Posts
    1k Views
    M

    Hello,

    same issue here please fix :)

    Thanks,

  • TFTP on Pfsense 2.2

    2
    0 Votes
    2 Posts
    1k Views
    M

    Hello,

    I found the solution.

    It was a driver problem of my TFTP Lan Card with pfsense 2.2

    I changed my card and now everything is ok.

    Best Regards.
    Myke.

  • Syslog-ng pkg.v.1.0.2 is gzipping the client key file every night

    2
    0 Votes
    2 Posts
    791 Views
    S

    Well, I made this work. If you are running into this issue, you can probably fix it this way, but I'm no expert at regex.

    Here is the code that is in the syslog-ng package now, found in /usr/local/pkg/syslog-ng.inc:

    preg_match("/\bfile\b\(['\"]([^'\"]*)['\"]/", base64_decode($object['objectparameters']), $match);

    That is supposed to fix the "encrypting the keyfile" behavior, but it doesn't. This is at line 238 according to the redmine page here https://redmine.pfsense.org/projects/pfsense-packages/repository/revisions/c030cf2781c7bbef197db6f07facef35b6856c8e/diff

    In order to get this thing to STOP encrypting the keyfile, I changed line 238 to this:

    preg_match("/[^-]\bfile\b\(['\"]([^'\"]*)['\"]/", base64_decode($object['objectparameters']), $match);

    Once I change this and re-saved, with no changes, my custom Destination object in syslog-ng (restarting the syslog-ng service does NOT make this change take effect), the /usr/local/etc/logrotate.conf no longer includes the key file, but it DOES still include the syslog-ng log files.

    One other thing - while youa re editing the /usr/local/pkg/syslog-ng.inc file, chenage the line

    $conf .= "@version:3.6\n";

    to

    $conf .= "@version:3.5\n";

    otherwise the syslog-ng service will not start.

  • Pfblocker NG help

    5
    0 Votes
    5 Posts
    3k Views
    BBcan177B

    I would also suggest reading this thread:

    https://forum.pfsense.org/index.php?topic=90092.msg498849#msg498849

    Best to create a "permit inbound" alias for CA and US. Then manually create a firewall rule using this alias and using the IP/ports of your mail server.

    Not recommended to put all countries except a few in blacklists as pfSense is a stateful firewall by design.

  • Dansguardian and LDAP authentication

    2
    0 Votes
    2 Posts
    476 Views
    T

    I'd like to add if a change is made to a group in AD, once Dansguardian updates, the changes are reflected on the 'Users' tab, but the actual file is not changed.  You have to click on the 'Users' tab save button to apply.

    Anybody got a quick fix for this?

  • ClamAV will not start (freshclam error signal 9)

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • 0 Votes
    3 Posts
    3k Views
    G

    Go to Diagnostics->Edit File
    Browse and Load /usr/local/pkg/bind.inc
    Go towards the end of the file and add -4 as shown
    Save the file and go to the BIND Server page and click Save to apply the change

    function bind_write_rcfile() {         $rc = array();         $BIND_LOCALBASE = "/usr/local";         $rc['file'] = 'named.sh';         $rc['start'] = <<<eod<br>if [ -z "`ps auxw | grep "[n]amed -4 -c /etc/namedb/named.conf"|awk '{print $2}'`" ];then         {$BIND_LOCALBASE}/sbin/named -4 -c /etc/namedb/named.conf -u bind -t /cf/named/ fi EOD;         $rc['stop'] = <<<eod<br>killall -9 named 2>/dev/null sleep 2 EOD;         $rc['restart'] = <<<eod<br>if [ -z "`ps auxw | grep "[n]amed -4 -c /etc/namedb/named.conf"|awk '{print $2}'`" ];then         {$BIND_LOCALBASE}/sbin/named -4 -c /etc/namedb/named.conf -u bind -t /cf/named/         else killall -9 named 2>/dev/null         sleep 3         {$BIND_LOCALBASE}/sbin/named -4 -c /etc/namedb/named.conf -u bind -t /cf/named/         fi</eod<br></eod<br></eod<br>
  • PfBlocker with Nested Aliases

    4
    0 Votes
    4 Posts
    2k Views
    J

    I'm very sorry I haven't responded, I didn't get alerted to the thread being updated.

    I am embarrassed to be reminded of this as I did realise I was being less than observant when I first looked in to it, pfBlocker itself can use multiple lists per alias. To achieve what I described I now do the following - please note I am describing this from memory and I have just started using pfblockerNG instead so please don't…. assume I am correct (!)

    In pfBlocker:

    Create a new item "Alias_Always_Block"
    Add the IP blocklists as required to this - I had missed the fact I could simply click "+" to add multiple lists.
    Set as an Alias rather than a permit/deny.

    –My "Always Block" contains only a Pe**phile list.

    Create a new item "Alias_Mostly_Block"
    Add the IP blocklists as required to this.
    Set as an Alias rather than a permit/deny.

    --My "Mostly Block" contains for example malware and ad lists.

    In the pfSense Aliases (Firewall > Aliases> URLs) create an Alias "URLs_pfBlocker_Override" and add the URLs you wish to whitelist.

    Now create your firewall rules using aliases in this order, relative to your other rules (I use floating rules).

    Block "Alias_Always_Block"

    Allow "URLs_pfBlocker_Override"

    Block "Alias_Mostly_Block"

    Whenever something breaks, add "www.example.com" to the "URLs_pfBlocker_Override" Alias - remember to refresh your rules and wait.

    You should now find you never see traffic to Pe**philes, and you may find certain websites get blocked because they are hosted by providers whose entire range has been added to a malware or ad list for some bad apples spoiling the bunch. Manually add them to your override URLs to allow for this.

    The above is overly simplified as my actual rules block everything, the URLs override rule only allows HTTP/HTTPS ports, and other allow rules I haven't described get the rest of my legitimate traffic working. I highly recommend reading this thread, I am only half way through it myself but it will explain in detail what I have glossed over here - https://forum.pfsense.org/index.php?topic=78062.0

  • New Package Child Boards

    1
    0 Votes
    1 Posts
    8k Views
    No one has replied
  • Asterisk as standalone package on pfsense

    2
    0 Votes
    2 Posts
    776 Views
    K

    http://www.asterisk.org/downloads/asterisknow

  • Sarg Reports Generation

    7
    0 Votes
    7 Posts
    1k Views
    B

    @marcelloc:

    Check the sample you copied. That is between two

    Yes thank you..attention to detail such an easy thing to miss.

    Thanks its working now.

  • Configure sarg or lightsquid

    4
    0 Votes
    4 Posts
    2k Views
    KOMK

    Are the commands for lightsquid or sarg?

    Sorry, I'm an idiot.  I grabbed the wrong section from my pfSense cheat sheet.  Try this for Lightsquid:

    ln -s /usr/pbi/lightsquid-amd64/local/www/lightsquid /usr/local/www/lightsquid ln -s /usr/pbi/lightsquid-amd64/local/etc/lightsquid /usr/local/etc/lightsquid pkg install perl5 pkg install p5-gd /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today

    This works for getting Lightsquid working with 2.1.5.  I haven't played much with 2.2 packages for a few weeks now so I have no idea if this works with the latest stuff.

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