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.

  • FreeRaDIUS-XMLRPC

    2
    0 Votes
    2 Posts
    1k Views
    N

    Hello

    it`s work very well on new version of FreeRADIUS package (2.2.5)

    Thank you very much

  • 0 Votes
    7 Posts
    5k Views
    bmeeksB

    @priller:

    @bmeeks:

    Based on my testing, either the patched binary or turning off the delayed-detect feature worked.  Translated, that means you need the new binary if you want to leave "delayed-detect" set to "on", but if you don't have the new binary yet, you can just set "delayed-detect" to off and should still not see the bug.

    It seems to be OK with that set to "off".

    We tried that previously ( https://forum.pfsense.org/index.php?topic=74778.msg410720#msg410720 ) and still had a problem.  Other than having multiple interfaces then vs. a single one now,  I'm not sure what else is different in the config .. or the sequence of events to trigger it.  Anyway, looking much better today.

    From my understanding of the bug and the Suricata binary code, the call to load the Suppress List entries was made and the list successfully loaded before the rule signatures had been loaded.  So there were, at that moment, no rules in the memory table for the Suppress List to match and thus the flag to "not alert" was not set for any Suppress List rules.  Delayed-Detect is an option designed for inline IPS operation that allows Suricata to go ahead and come up and start passing traffic even before all the rule signatures (detection) are loaded and enabled.  So in this mode, there is a time where traffic will pass uninspected.  In the current quasi-IPS/IDS mode Suricata uses, this parameter has no meaning but I had defaulted it to "on" for the future.  When you disable Delayed-Detect, the rules load earlier and thus are in memory when the Suppress List is loaded and parsed.  So this means rules can match up.

    The reason this worked using the icons on the Alerts tab is those add the entry to the list and then initiate a "live rule swap" within Suricata.  This is not the same as a restart, thus the rules are in memory and can be matched up against the Suppress List when it loads as part of the "live rule swap".  Restarting the service, however, does trigger the bug when Delayed-Detect is enabled.

    I've done two things to address this in the upcoming release.  First, I back-ported a patch from 1.4.7 to the 1.4.6 version used on FreeBSD that makes sure the Suppress List is loaded after the rules have been processed.  Second, I added a checkbox on the INTERFACES tab to allow the Delayed-Detect feature to be manually enabled or disabled by the user.  It will default to disabled.

    Bill

  • Radius with MAC filtering

    2
    0 Votes
    2 Posts
    2k Views
    M

    't Works  ;D

    Although it took me quite some learning, as I am an economist and not a technical guy  :-[

    I too have a Ubiquity access point which supports Radius. So basically this is it:
    1. I have laptop and smartphones which connect wireless.
    2. I created a special VLAN for wireless only.
    3. pfSense cert manager has created certificates (so: not passwords).
    4. The certificates are installed in the laptop (wifi connection) and in the smartphones (android).
    5. After setting up Radius to use these certificates:
    5.a. The smartphone connects to the Ubiquity, which has been told to use Radius, and the address of the Radius-server.
    5.b. The Ubiquity forwards the connection request via the switch to the pfSense where Radius resides.
    5.c. Somewhere/somehow the client certificate (how this works is not quite clear to me, but it works) of the smartphone is offered to the pfSense radius server to indentify the smartphone. The other way around the server identifies itself to the smartphone with it's server certificate (to avoid MitM-attacks).
    5.d. If this authentification is approved the Radius server tells the Ubiquity to allow access for the smartphone.
    5.e. The DHCP-server on the VLAN then issues an IP and the firewall assures the smartphone can only go to the internets, and not to the LAN.

    't Works  ;D

    I hope this helps  :P

    Bye,

  • SquidGuard search Members in Groups

    1
    0 Votes
    1 Posts
    626 Views
    No one has replied
  • Dansguardian and Squidguard together?

    4
    0 Votes
    4 Posts
    1k Views
    R

    If i understand your requirement correctly, what you are asking for is doable in DG… There was another thread where someone was talking about getting it working. Just saw it in the last couple days...

  • Dansguardian-2.12.0.3_2 problems

    12
    0 Votes
    12 Posts
    3k Views
    P

    @torsurfer:

    @pfSense2User

    I think you need to enable 'execute' permissions on both the clamav and dansguardian directories. Try this:

    chmod u+x /var/log/clamav /var/log/dansguardian

    I made a script to chmod the entire /var/log directory called perms.sh in the /usr/local/etc/rc.d folder:

    #!/bin/sh /bin/chmod -R 777 /var/log

    Then, I used the chmod +x perms.sh to make the file as an executable for everyone; lo and behold, it runs!

    Thank you kindly!

  • Dansguardian Multiple time limit blocks

    7
    0 Votes
    7 Posts
    4k Views
    C

    Step 1. Go to Site Lists under ACLs in dansguardian
    Step 2. Edit the Default profile….Under banned.....type all the sites which you want  time based access...Site1.com,Site2.org,Site3.net,Site4.com,Site5.org,Site6.info
    Step 3. Create a new profile, example Time1.
    Step 4. Under Exception lists of Time1 type the list of sites you want to grant access to
    For eg you want to grant access to Site1.com, Site2.org & Site2.net from 17:00 hrs to 18:00 Mon-sat
    Hence Under Exception list you will add
    #time: 17 00 18 00 012345
    Site1.com
    Site2.org
    Site3.net

    Step 5. Create another profile Time2....type the list of sites you want to grant access to
    For eg you want to grant access to Site4.com, site5.org, Site6.info from 09:00 to 13:00 Mon-Fri
    hence Under Exception list you will add
    #time: 09 00 13 00 01234
    Site4.com
    Site5.org
    Site6.info

    Step 7. Include the paths of the profiles Time1 & Time2 under the exceptionlists of Default Profile
    eg..under Exceptionlist of Default profile it should be
    .Include
    .Include

    Adding these two lines instructs dansguardian to parse these files one by one

    Similarly any number of banned, exception & greylists with different access times can be created.

  • Squid/squidlight question (is it caching correctly?)

    2
    0 Votes
    2 Posts
    825 Views
    H

    Im interested in this topic too. I hope someone who knows will answer?

    many thnx in advance :)

  • Pfsense having trouble installing squid while snort is installed

    4
    0 Votes
    4 Posts
    1k Views
    H

    After updating to never version i have issues installing every package. I actually have  this problem:

    Beginning package installation for squid3 .
    Downloading package configuration file… done.
    Saving updated package information... done.
    Downloading squid3 and its dependencies...
    Checking for package installation...
    Downloading https://files.pfsense.org/packages/amd64/8/All/squid-3.1.22_1-amd64.pbi ...  (extracting)
    Loading package configuration... done.
    Configuring package components...
    Additional files... squid.inc failed.
    Backing up libraries...
    Removing package...
    Starting package deletion for squid-3.1.22_1-amd64...done.
    Removing squid3 components...
    Tabs items... done.
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file squid.inc could not be found for inclusion.
    Deinstall commands...
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Cleaning up... done.
    Failed to install package.

    Installation halted.

    I will try to disable snort and hope the best?

    Many thnx for this tip. It could solve mine problem, cause i COULD install snort...

    Many many thnx

  • 0 Votes
    2 Posts
    1k Views
    marcellocM

    My repo is not a pfsense package fork. Use only official repo.
    If you need any package from my repo, use pkg/pbi via console/ssh

  • Unable to create Suppression Lists

    15
    0 Votes
    15 Posts
    2k Views
    bmeeksB

    @fmaxwell:

    @marcelloc:

    The code was merged today. take a look.

    I just did a package reinstall and that completely solved the inability to create a suppression file.  Thanks!

    You're welcome!  Sorry about the bug.  It was totally my fault.  In adding some additional security for configuration changes, I accidentally broke saving a new list… :-[

    Bill

  • Snort question To Snort, or not to Snort

    5
    0 Votes
    5 Posts
    1k Views
    bmeeksB

    fragged is correct.  This only impacts the IP REPUTATION preprocessor.  It is disabled by default.  I was just pointing it out as one area that can fail with RAM disks.  The downloaded rules tar balls and the individual interface rules are stored on the /usr partition.

    There once was a bug where Snort did not put the /usr partition in read/write mode when trying to update some files, but I think I have all of those fixed now.  Report back if you notice any errors in the system log about attempting to write to a read-only partition.

    Bill

  • HAVP: Streaming Devices and Netflix workaround

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Uploading file failed

    5
    0 Votes
    5 Posts
    3k Views
    P

    Hi finalcut,

    If nothing is shown in the firewall log, then creating a floating rule like you proposed (https://forum.pfsense.org/index.php?topic=71515.msg414518#msg414518)wont help.. Unless you have rules that match but don't log traffic. But i think that this kind of problem is unlikely to be the cause of your current issues..

    You could try is disabling the trafficshaper, maybe that 'interacts' strangely with squid..??

    Would also be interesting to see some packet captures of both the wan and lan side simultaneously while a failing upload is being made, so it is clear which side of the connection 'breaks'. Then combine that with logging of squid with a higher then normal verbosity and it should help in determining what part of the process causes it to fail.

    Greets PiBa-NL

  • 0 Votes
    3 Posts
    1k Views
    D

    Hi.

    There is an update for fix this.

    fix lock file when using usb devices add lockfile option

    Also, we are expecting the upgrade to 3.14.12 on FreeBSD ports, so we can update here on pfSense.

    Best Regards.

  • PfBlocker recommended lists - overlap with Snort

    2
    0 Votes
    2 Posts
    1k Views
    BBcan177B

    Here is a link to a discussion I had in regards to blocklists.

    https://forum.pfsense.org/index.php?topic=73353.msg402927#msg402927

    Some of those lists are for mail servers and can be ignored. If you add more blacklists, you will need to increase the maximum table entry.

    Goto  Advanced:Firewall/NAT  and increase the "Firewall Maximum Table Entries".

    There is no functionality currently to see if the blacklists are downloading the lists at the specified frequency unfortunately.

  • Dansguardian not start

    2
    0 Votes
    2 Posts
    929 Views
    marcellocM

    Please search the forum, there are a lot of threads with dansguardian workarond configurations.

  • Squid c-icap exited on signal 11

    8
    0 Votes
    8 Posts
    4k Views
    marcellocM

    I'ts related to freebsd, not package configuration.

    You can help looking for workarounds searching on google.

    http://lists.freebsd.org/pipermail/freebsd-ports/2014-February/090322.html
    http://sourceforge.net/p/c-icap/discussion/420422/thread/1a2978aa/
    http://bit.ly/1h6nxFA

    i386 version with same config files works, so in your production environment you can forward  proxy requests to a i386 virtual machine with squid and icap.

  • Haproxy problem - HTTP POST file uploads to webserver behind fw fail

    8
    0 Votes
    8 Posts
    8k Views
    P

    I've found you did start another thread a while before.. https://forum.pfsense.org/index.php?topic=74085
    That you never got a reply is likely due to the very small amount of fragmented information you have given. "uploading file failed" is not a very descriptive title for someone to look at.

    As it has nothing to do with HAProxy, and unlikely to be related to floating rules i'm not going to continue the discussion here.

  • Question on Snort IP REP

    2
    0 Votes
    2 Posts
    787 Views
    bmeeksB

    @vito:

    Looking at the IP Rep option I see where you can add list…
    Question: It seems the list are stored locally and not pulled from a site (like PFBlocker)
    Is this the norm or will added feature be coming latter to pull list from web and do scheduled updates like PFBlocker?
    If I understand correctly, IP Rep “could” replace PBBlocker at some point? (or am I wrong?)
    Thanks for your help and hard work on Snort (and Suricta)

    vito

    You are correct that, at the moment, the lists are static and stored locally.  I think some users have created their own cron jobs and associated scripts to download updates and write them to the directory.

    For now, if a list is updated, Snort needs to be restarted in order to pick it up.  I am investigating some other options for the future.

    Bill

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