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
    cyb3rtr0nianC

    @bmeeks So after upgrading to the newest PfSense 2.8.0 everything is now working like a charm!

    Suricata no longer seems to strip off tags like it did before! Which means I can now use my network segmented by VLANs and still use the benefits of Suricata Inline IPS! Very niiize!

    I checked in the Alerts section and it is indeed generating the correct alerts from the different VLAN sections, I put Inline IPS on the parent interface of all the VLANs.

    I assume this is because the FreeBSD version is also updated with the new PfSense 2.8.0 version?

    Because before, as soon as I selected Inline IPS mode, my entire VLAN tagging would break and nothing was reachable until I switched back to Legacy mode.

  • 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
    reza3swR

    @Gertjan
    Hello,
    Thank you.
    I had exactly the same issue, and your solution helped me fix it.

    Ask ChatGPT

  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    101 Topics
    2k Posts
    J

    NUT version is 2.8.2_5 (I've already tried reinstalling the package)

    NUT seems to think it can't find the UPS, but usbconfig shows it to be present:

    [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: usbconfig ... ugen0.5: <PR1500LCDRT2U UPS Cyber Power System, Inc.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA) ...

    Below is the console log attempting to start NUT from the command line.

    [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: ./nut.sh stop stopping NUT [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: ./nut.sh start starting NUT Network UPS Tools - UPS driver controller 2.8.2 Network UPS Tools upsd 2.8.2 fopen /var/db/nut/upsd.pid: No such file or directory Could not find PID file '/var/db/nut/upsd.pid' to see if previous upsd instance is already running! Network UPS Tools - Generic HID driver 0.53 (2.8.2) listening on 127.0.0.1 port 3493 USB communication driver (libusb 1.0) 0.47 listening on ::1 port 3493 Can't connect to UPS [CyberPower-1500] (usbhid-ups-CyberPower-1500): No such file or directory libusb1: Could not open any HID devices: no USB buses found No matching HID UPS found upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it Driver failed to start (exit status=1) Found 1 UPS defined in ups.conf Network UPS Tools upsmon 2.8.2 kill: No such process UPS: CyberPower-1500 (primary) (power value 1) Using power down flag file /etc/killpower

    Also

    [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: more ups.conf [CyberPower-1500] driver=usbhid-ups port=auto [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: egrep -v '^#' nut.conf MODE=none

    and this, which singles out the usbhid-ups driver as the problem:

    [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: /usr/local/libexec/nut/usbhid-ups -a CyberPower-1500 Network UPS Tools - Generic HID driver 0.53 (2.8.2) USB communication driver (libusb 1.0) 0.47 libusb1: Could not open any HID devices: no USB buses found No matching HID UPS found upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
  • 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

    690 Topics
    4k Posts
    J

    I've read through some other posts about this, but they either didn't say whether the proposed solution worked or they were very convoluted and difficult to understand. Here is our scenario: We have 6 locations--Las Cruces (LC), Sunland Park (SP), El Paso (EP), Abilene (ABI), Fort Worth (FW), and Plano (PL). LC and ABI have software that is accessed by the other 4 locations via VPN. There are WireGuard VPNs set up between LC and those 4 locations (SP, EP, FW, PL), and ABI and those 4 locations (SP, EP, FW, PL). There is also a WireGuard VPN connection between LC and ABI. LC and ABI have 2 internet connections. SP, EP, FW, and PL each have one internet connection.

    If the primary internet connection goes down at either LC or ABI and failover occurs to the secondary internet connection, is there a way to set up the WireGuard VPN connections so that they also failover without purchasing some 3rd party application?

    Thanks.

  • Need some help: Package used to work but doesn't work now.

    1
    0 Votes
    1 Posts
    321 Views
    No one has replied
  • FreeRadius3 LOG

    2
    1 Votes
    2 Posts
    549 Views
    GertjanG

    👍
    I totally agree with this.
    What about moving the FreeRadius Logs to the "Package log" menu ?!
    Right know its overwhelming my general log also.

  • openvpn-client-export & auth-nocache option

    2
    0 Votes
    2 Posts
    7k Views
    K
    -auth-nocache Don't cache --askpass or --auth-user-pass username/passwords in virtual memory. If specified, this directive will cause OpenVPN to immediately forget username/password inputs after they are used. As a result, when OpenVPN needs a username/password, it will prompt for input from stdin, which may be multiple times during the duration of an OpenVPN session. This directive does not affect the --http-proxy username/password. It is always cached.

    I don't think you'd want to type in your username/password multiple times during the login session and then on every reconnect just to buy some peace of mind.

    On top of that, --auth-nocache can not be implemented 100% reliably on any normal computer, you would need some special secure memory that can guarantee the no cache property of the memory used. As soon as the username/password are read, there is some cached memory that holds the password for a non-zero time.

  • Network analyzer

    2
    0 Votes
    2 Posts
    581 Views
    emammadovE

    Hi. You can use Squid together with SquidGuard to block websites.
    And Lightsquid is web proxy reporting tool that you can see which user or ip address has visited what websites.
    With ntopng package, you can see network usage of ip addresses, which ip address is using most bandwidth and etc.

  • Creating a package around a set of python scripts

    2
    0 Votes
    2 Posts
    467 Views
    jimpJ

    A FreeBSD port is the heart of it. You can look at other small and simple packages to get an idea of how they work. For a GUI, it depends on what you need. If it's a few settings then using the built-in XML package GUI method may be easiest, otherwise you can code up a small PHP page to do what you need.

  • Nagios nrpe Version 3 after Upgrade to 2.3.5-RELEASE-p2?

    3
    0 Votes
    3 Posts
    943 Views
    S

    Hi,

    there was an upgrade for the nrpe Package from 2.3.2_2 TO 3.0 available.
    Now everything works as expected again…  :)

  • General security

    3
    0 Votes
    3 Posts
    761 Views
    Raffi_R

    Hi John,

    I am not very experienced with pfSense either, but I have spent several months time with setting up the box and digging into different packages. You already mentioned most of these, but speaking from my own limited experience and setup, below is what I have and some of my knowledge on them.

    OpenVPN
    Great for secure remote access.

    pfBlockerNG
    Great for URL filtering and added security depending on the lists used. I followed this awesome tutorial on YouTube to help get that setup the way I wanted. https://www.youtube.com/watch?v=QwFpMwXEK5w. You don't have to use all the lists and examples in that video, but it's a great start. For example, the ad blocking helps prevent users from doing things they shouldn't be doing like clicking on Google ads that say "Official Microsoft site" but the URL is clearly not right and can take them to a potentially malicious site. This saved me a few times at least. I use most of the lists in that video along with some of the easy lists included in the package.

    Suricata
    I originally used Snort, but I had a fatal issue with it when Snort ran into some updated rules which it didn't know what to do with. To me, having an IPS with a few missing rules is better than having one that chokes on those few faulty rules and not run at all. I ended up switching to Suricata instead which uses many of the same rules and categories anyway.

    Squid with ClamAV
    Squid is being used as a caching web proxy server which all my clients go through. The web proxy wasn't really needed, but the anti-virus on the firewall level was the main selling point to me. That is done thanks to ClamAV included in the Squid package. On my setup, ClamAV is only scanning http traffic and not https. Technically it could be setup to do both. I personally am staying away from that for reasons discussed throughout these forums.

    Good luck.
    Raffi

  • MOVED: FreeVRRP

    Locked
    1
    0 Votes
    1 Posts
    370 Views
    No one has replied
  • Cyberpower OR500LCDRM1U and apcupsd package issue

    3
    0 Votes
    3 Posts
    729 Views
    Raffi_R

    I was never able to get the apcupsd package to work with my Cyberpower CP1500C. In your case, it sounds like it could be a driver issue. It doesn't make sense why it would stop working suddenly.

    In my case, I used the NUT package instead and it's been working smooth for months. I don't know if it's worth a try though because my setup is different. I don't have it connected to my pfSense box with USB. I have the UPS connected via USB to NAS on my LAN. That NAS also acts as my UPS server so pfSense is able to access the UPS info via the LAN. In the NUT package on pfSense, I just enter the server IP, port and the admin credentials of the server.

  • 1 Votes
    1 Posts
    435 Views
    No one has replied
  • Zabbix proxy web scenario checks

    1
    0 Votes
    1 Posts
    662 Views
    No one has replied
  • Munin-node package for 2.3?

    5
    0 Votes
    5 Posts
    3k Views
    A

    Thank you Gertjan and apologies for my rather clueless question. The munin master is within the LAN. Indeed, I have set up the node as described above, and everything now runs as it should. Sorry again for being a bit dumb…

  • How to configure Syslog-ng

    3
    0 Votes
    3 Posts
    2k Views
    O

    How do you configure the logs to be sent to ELK running in Docker Containers?

  • Freeradius with oracle support in addition to mysql and postgresql

    2
    0 Votes
    2 Posts
    571 Views
    GertjanG

    Hi,

    If you are ready to do some keyboard work, I guess it's possible :

    Enter console mode, and go to God mode (option 8).

    Goto the settings directory :

    cd /usr/local/etc/raddb/

    and ask if this  FreeRadius knows anything about 'oracle' :

    grep -R 'oracle' *

    You will see this :

    mods-available/sql:#  Where "DB" is mysql, mssql, oracle, or postgresql. mods-available/sql:    #    * rlm_sql_oracle mods-config/sql/ippool-dhcp/oracle/queries.conf:#  ippool-dhcp/oracle/queries.conf -- Oracle queries for dhcp-ippool mods-config/sql/ippool/oracle/queries.conf:#  ippool/oracle/queries.conf -- Oracle queries for rlm_sqlippool mods-config/sql/main/oracle/queries.conf:#  main/oracle/queries.conf -- Oracle configuration for default schema (schema.sql)

    The major part about how to set it up is there … but : FreeRadius needs a 'driver' that can talk to Oracle.
    The settings will learn you that the driver name of MySQL is "rlm_sql_mysql". For Oracle this would be  "rlm_sql_oracle" ...
    Check here :

    cd /usr/local/lib/freeradius-3.0.15 ls -al

    Bad news : no Oracle driver in the FreeRadius 3.x package … (maybe you borrow a copy from an original FreeBSD 11.1 (current FreeBSD kernel used by pfSense) "FreeRadius" package ..

  • Configure syslog-ng to stream multiple individual log files not working

    3
    0 Votes
    3 Posts
    2k Views
    U

    After more testing, and the update to v2.4.3 I'm not seeing any difference in behavior.  Anyone know of anything I can try to change?  Also, is there a good way to report a bug or is that directly to the redmine project site?

  • Editing AVAHI Deny Interfaces?

    6
    0 Votes
    6 Posts
    1k Views
    GertjanG

    @JimPhreak:

    Ahhhh, I wasn't holding Ctrl and clicking at the same time.  Wow what a brain cramp.

    "Ctrl" is a dead key, that needs to be pressed with 'something' on the keyboard - or mouse - that is, for the last 2, 3 decades it behaves like that  ;)

  • TFTP can't create files

    2
    0 Votes
    2 Posts
    636 Views
    GertjanG

    Hi,

    You tried to use the entire path as a file name ?

  • Freeradius3 authorization and accounting

    2
    0 Votes
    2 Posts
    772 Views
    GertjanG

    Hi,
    @Javid_B:

    (0) exec: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_auth.sh jb@gmail.com daily: cat: /var/log/radacct/datacounter/daily/max-octets-jbXgmail.com: No such file or directory /usr/local/etc/raddb/scripts/datacounter_auth.sh: arithmetic expression: expecting primary: "/1024/1024"

    For every user that has a quota in a time span, a file is created here /var/log/radacct/datacounter/daily/ - the file starts with "max-octets-" in your case, it's max-octets-jbXgmail.com
    In this case your time duration for the quota "daily".
    Does this file exist ? The error message says : no ! So login won't work. All is normal  ;)

    I advise you to experiment with a non-email login like login like "test".
    Check if the file  /var/log/radacct/datacounter/daily/max-used-test is created - in the file you will find the quota size in bytes.

    When the login works, another file will be created :  /var/log/radacct/datacounter/daily/used-test and probably  /var/log/radacct/datacounter/daily/used-test-xxxxxxxxxx (xxxxxx is the session ID). Check this.

  • 0 Votes
    8 Posts
    3k Views
    B

    This is what happens when the Shared Secret key does now match ;)

  • Configure NUT to only monitor and do nothing?

    2
    0 Votes
    2 Posts
    608 Views
    dennypageD

    You cannot configure NUT such that it will not attempt to perform a shutdown. You could configure a shutdown command that doesn't do anything by adding the following line in the "Additional configuration lines for upsmon.conf" section:

    SHUTDOWNCMD /bin/echo

    Note however that NUT will still do everything but shutting down the system, including shutting down any slaves. I'm also unclear on how NUT will behave following the attempted shutdown. You may have to restart the service.

    In general however, I would not recommend the approach of trying to split the UPS between apcupsd and NUT. If you want NUT's monitoring, use NUT for the shutdown.

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