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

    @dennypage Interesting. I would have thought the initial reboot, which occurred as part of the upgrade, would have done the trick, but it took a second reboot, just now, to get things working.

    So the issue, for me at least, seems resolved, but of course this leaves open the question of why a second reboot was needed. Here's some more information in case it helps.

    There was no difference in the output of usbconfig show_ifdrv at any point -- before or after unplugging/replugging the USB cable, nor after rebooting. Here's the output relating to the UPS, which was identical at all 3 points:

    ugen0.5: <PR1500LCDRT2U UPS Cyber Power System, Inc.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA)

    Question: What would tell me whether or not a driver was loaded?

    Prior to rebooting, I also tried running usbhid-ups -DDDDDD -a CyberPower-1500, and the only apparently meaningful message was (complete output later):

    ... 0.001460 [D2] Initializing an USB-connected UPS with library libusb-1.0.0 (API: 0x1000102) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.47') 0.001760 [D2] libusb1: No appropriate HID device found 0.001774 libusb1: Could not open any HID devices: no USB buses found 0.001780 No matching HID UPS found ...

    Here's the full output:

    [2.8.0-RELEASE][admin@janus.jhmg.pvt]/root: /usr/local/libexec/nut/usbhid-ups -DDDDDD -a CyberPower-1500 0.000001 [D5] send_to_all: SETINFO driver.state "init.starting" Network UPS Tools - Generic HID driver 0.53 (2.8.2) USB communication driver (libusb 1.0) 0.47 0.000284 [D1] upsdrv_makevartable... 0.000449 [D5] send_to_all: SETINFO driver.version.usb "libusb-1.0.0 (API: 0x1000102)" 0.000465 [D1] Using USB implementation: libusb-1.0.0 (API: 0x1000102) 0.000604 [D5] do_upsconf_args: confupsname=CyberPower-1500, var=driver, val=usbhid-ups 0.000616 [D5] do_upsconf_args: call main_arg() 0.000624 [D3] main_arg: var='driver' val='usbhid-ups' 0.000631 [D5] do_upsconf_args: not a main_arg() 0.000637 [D5] do_upsconf_args: this is a 'driver' setting, may we proceed? 0.000645 [D6] testval_reloadable: var=driver, oldval=usbhid-ups, newval=usbhid-ups, reloadable=0, reload_flag=0 0.000654 [D6] testval_reloadable: verdict for (re)loading var=driver value: -1 0.000659 [D5] do_upsconf_args: 'driver' setting already applied with this value 0.000667 [D5] do_upsconf_args: confupsname=CyberPower-1500, var=port, val=auto 0.000673 [D5] do_upsconf_args: call main_arg() 0.000678 [D3] main_arg: var='port' val='auto' 0.000685 [D6] testinfo_reloadable: var=port, infoname=driver.parameter.port, newval=auto, reloadable=0, reload_flag=0 0.000692 [D6] testinfo_reloadable: verdict for (re)loading var=port value: 1 0.000703 [D5] send_to_all: SETINFO driver.parameter.port "auto" 0.000728 [D1] Network UPS Tools version 2.8.2 (release/snapshot of 2.8.2) built with FreeBSD clang version 19.1.5 (https://github.com/llvm/llvm-project.git llvmorg-19.1.5-0-gab4b5a2db582); Target: x86_64-unknown-freebsd15.0; Thread model: posix and configured with flags: --sysconfdir=/usr/local/etc/nut --program-transform-name= --localstatedir=/var/db/nut --datadir=/usr/local/etc/nut --with-devd-dir=/usr/local/etc/devd --with-drvpath=/usr/local/libexec/nut --with-statepath=/var/db/nut --with-altpidpath=/var/db/nut --with-pidpath=/var/db/nut --with-pkgconfig-dir=/usr/local/libdata/pkgconfig --with-user=nut --with-group=nut --with-python=/usr/local/bin/python3.11 --without-python2 --with-python3=/usr/local/bin/python3.11 --without-nut_monitor --with-ltdl --with-nut-scanner --with-avahi --with-cgi --with-cgipath=/usr/local/www/cgi-bin/nut --with-htmlpath=/usr/local/www/nut --with-gd-includes=-I/usr/local/include --with-gd-libs='-L/usr/local/lib -lgd' --without-dev --with-freeipmi --without-ipmi --with-doc=no --with-modbus --with-neon --without-nss --with-openssl --with-powerman --with-serial --with-snmp --with-usb=auto --prefix=/usr/local --mandir=/usr/local/share/man --disable-silent-rules --infodir=/usr/local/share/info/ --build=amd64-portbld-freebsd15.0 0.000748 [D1] debug level is '6' 0.000759 [D5] send_to_all: SETINFO driver.debug "6" 0.000768 [D5] send_to_all: SETFLAGS driver.debug RW NUMBER 0.001368 [D1] Succeeded to become_user(nut): now UID=316 GID=316 0.001431 [D5] send_to_all: SETINFO device.type "ups" 0.001444 [D5] send_to_all: SETINFO driver.state "init.device" 0.001451 [D1] upsdrv_initups (non-SHUT)... 0.001460 [D2] Initializing an USB-connected UPS with library libusb-1.0.0 (API: 0x1000102) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.47') 0.001760 [D2] libusb1: No appropriate HID device found 0.001774 libusb1: Could not open any HID devices: no USB buses found 0.001780 No matching HID UPS found 0.001809 [D5] send_to_all: SETINFO driver.state "cleanup.exit" 0.001818 upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it

    You might consider adding this resolution to the release notes for 2.8.

    Thanks for the assistance!

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

  • 0 Votes
    2 Posts
    1k Views
    jimpJ

    If you setup squid and squidGuard, and then enter the proxy settings on each workstation instead of relying on transparent proxying, you can do this.

    There are some docs on setting up squid+squidGuard here on the forum and on the doc wiki.

  • Snort package may break today

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    S

    Has this been updated/fixed?

  • Havp antivirus New

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    D

    @deutsche:

    minimal changelog please,  mark
    and thx for that

    Added main status page  ;)

  • Caching problem for game update

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Cry HavokC

    No need to make the same post in multiple forums.

  • SquidGuard - I want to redirect only on dest blk_BL_porn

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    D
       # --- Blacklist ---    # Note! Blacklist must be added to config permanently. It's need for rebuild DB now    $db_entries = sg_entries_blacklist();    if (($squidguard_config[F_BLACKLISTENABLED] === 'on') and $db_entries) {        $log_entr_added = '';        $log_entr_ignored = '';        sg_addlog("sg_create_config: add blacklist entries", 1);        foreach($db_entries as $key => $ent) {            $ent_state = array(); ..................CUT..............CUT..................CUT........................            # create config if blacklist item exists            if ($ent_state['exists']) {                $sg_tag->clear();                $sg_tag->set("dest", $ent, "", "");                if ($ent_state[F_DOMAINS])     $sg_tag->items[] = "domainlist $ent/domains";                if ($ent_state[F_EXPRESSIONS]) $sg_tag->items[] = "expressionlist $ent/expressions";                if ($ent_state[F_URLS])        $sg_tag->items[] = "urllist $ent/urls";                if ($ent == "blk_BL_porn")                    $ent_state->items[] = "redirect " . sg_redirector_base_url("YOU_URL_HERE", RMOD_EXT_MOVED);                $sg_tag->items[] = "log ". SQUIDGUARD_ACCESSBLOCK_FILE;
  • Stunnel: errors when adding a certificate

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Internet speed drop (HTTP proxy)

    Locked
    10
    0 Votes
    10 Posts
    4k Views
    D

    Thanks for the reply.  No joy on that solution.  Here is a copy of the contents of my loader.conf after commenting everything out.

    #autoboot_delay="3"
    #vm.kmem_size="435544320"
    #vm.kmem_size_max="535544320"
    #kern.ipc.nmbclusters="0"

    Any other suggestions?

  • Snort fatal error

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    ?

    I was doing nothing at all when snort dies .And snort will not start with pfsense after reboot .This started after the last snort update 1.26?

  • Squidguard, 2 ACL with diffrent Times, not working ???

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    D

    http://diskatel.narod.ru/sgquick.htm

  • BANDWIDTHD Filter out local traffic?

    Locked
    7
    0 Votes
    7 Posts
    6k Views
    A

    Thanks
    Dropping the 1 seems to have worked . Excellent!!

  • Best bandwidth monitoring package for me?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ

    BandwidthD is probably good enough for what you want, that will get you bandwidth by IP.

    As for open connections, that's already there under Diagnostics > States, and a better view by the "States Summary" package I wrote.

  • MOVED: Problem with activation

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Freeradius - user online time

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Supress Tab Bug in Snort 1.25

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    G

    Easy fix by changing the to the following around line 143 in the file /usr/local/www/snort/snort_interfaces_suppress.php

    [![](/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif "delete supress rules")](/snort/snort_interfaces_suppress.php?act=del&id=<?=$i;?>)
  • 0 Votes
    5 Posts
    7k Views
    jimpJ

    that could definitely cause some issues, but it looks like it's just enough to be annoying.

    Here is how to change the monitor IP, it's not in the GUI:
    http://doc.pfsense.org/index.php/Using_an_alternate_monitor_IP_for_quality_graphs

  • Caching problem with game update

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    I

    Thx for your answer..

    But some application updating patch using  ftp protocol..

    Is it possible to configurre squid to read ftp protocol..

    If its possible would you mind to share how to configure it..

    Thx.man really appreciate it

  • How to set port mirroring?

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    J

    @0tt0:

    @jilingshu:

    hi all,
    I wanna set a port mirroring to monitor all traffic in LAN interface. I have searched this forum and found someone said I can use "dup-to" to do this(http://forum.pfsense.org/index.php?action=printpage;topic=14334.0). But he said no details. So could u tell me some more information on this? thx!

    Kinda interesting, but I wouldn't burden the firewall with that, have the switch do the work if possible.

    http://en.wikipedia.org/wiki/Port_mirroring

    hi,
    The problem is that I have no switch with port mirroring function… My switch is so cheap(50RMB, about $7) to have any functions except connecting all computers together...

    I only need to sniff traffic between LAN and WAN so I think make a port mirroring my firewall is suitable. ;)

  • How to monite URLs which users accessed?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    0

    @jilingshu:

    yes, I really wanna to log everything which user visited. ;)
    A little problem: It looks like that a web proxy will make some website cannot be visited like www.alipay.com (This is the most famous online-paying website in China). Is there any way for me to prevent this problem happening? thx!

    BTW: I think the best solution for my problem is to make a port mirroring, but I dont know how to do this… :(

    Pretty straight forward once you got the switch that supports it. Check your switch's manual. You have to deal with the traffic being mirrored somehow too.

  • Perl libraries to manipulate config.xml file?

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    M

    Thank You very much everyone. I guess I'll write the perl modules myself.

  • Squidguard with autoupdate

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    D

    Autoupdate not a simple archive copy/paste.
    Need make steps for prepare archive's catalog-structure. And control config for correct blacklist names..

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