Subcategories

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

    4k Topics
    21k Posts
    A
    HAProxy has a directives load-server-state-from-file that is described as: This directive points HAProxy to a file where server state from previous running process has been saved. That way, when starting up, before handling traffic, the new process can apply old states to servers exactly has if no reload occurred. and also the directive server-state-file which is described as: Before reloading HAProxy, it is possible to save the servers' current state using the stats command "show servers state". The output of this command must be written in the file pointed by <file>. When starting up, before handling traffic, HAProxy will read, load and apply state for each server found in the file and available in its current running configuration. https://docs.haproxy.org/2.9/configuration.html#load-server-state-from-file https://docs.haproxy.org/2.9/configuration.html#server-state-file Looking in my /var/etc/haproxy/haproxy.cfg shows the global section contains the directive server-state-file /tmp/haproxy_server_state and each backend contains the directive load-server-state-from-file global I think this explains why we are seeing the issue - when HAproxy reloads, it writes the current server state to the file and then loads the states back from the file. So even though the configuration has been changed, HAproxy is still using the server states that existed before making the changes. This also explains why deleting a backend, saving, and then re-creating the backend is a workaround - when a backend server is deleted, all the HAproxy states for it will be closed and thus do not get saved to the file. They mystery now is why those directives are being added to the HAproxy configuration. I do not see an GUI option for either directive.
  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    S
    @bmeeks :( well thank you for your time, sir. 🫡
  • 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
    R
    @Gertjan s7.vonderste.in resolves to 94.16.122.152. I just saw a dns request for that. In the whitelist on OTX Alienvault there is a timeserver: 3.de.pool.ntp.org I just don't know why a timeserver runs on a TOR node and seems to be hosted by a private person. Maybe pfblocker resolves it incorrectly becaues the time server is hosted on the same IP? Anyway I see this coming from my ASUS router which is in Access Point mode. These weird domains always come up every hour and I think they are related to ntp on that ASUS router. Since I disconnected it it has stopped. Here is an example of what I see. Scanning these IPs shows nothing malicious but who knows. 93.122.215.85.in-addr.arpa,192.168.1.8,sonne.floppy.org,unk 94.244.38.46.in-addr.arpa,192.168.1.8,basilisk.mybb.de What didn't stop was on my work computer these weird replies as mentioned above. reply,A,NSEC,1081,domaincontroller-gPHvwjYS.local,192.168.1.86,NXDOMAIN,unk But it only happend once today instead of multiple times like the days before. @Gertjan said in pfBlockerNG not logging anything by default?: Where - what log - did you find that URL (DNS only deals with host names) ? I find them in pfblockerNG dns_reply log under Logs EDIT: I just realized that it is kind of in the name pool.ntp.org its made up of multiple sources so it does make sense that it resolves some of these weird private hosts?
  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    101 Topics
    2k Posts
    dennypageD
    @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: 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. Glad you have it sorted. 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. ... Question: What would tell me whether or not a driver was loaded? If there were an attached driver, it should have shown up with the show_ifdrv command. If you use the command and look at the other usb devices, I think they will show attached drivers. I don't expect to see a driver attached to the ups, because there is a quirk that tells the OS to ignore that device (and not attach a driver). Look for idVendor and idProduct in the above output. The Vendor ID for your device is 0764, which corresponds to Cyber Power Systems, and the Product ID for your device is 0601, which is registered as "PR1500LCDRT2U UPS" (don't sweat an exact match for the name). You can see the quirk with the following command: [25.07-RC][root@fw]/root: usbconfig dump_device_quirks | grep 0764 VID=0x0764 PID=0x0005 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0501 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0601 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE [25.07-RC][root@fw]/root: Your device is third on the list. The HID_IGNORE quirk says to ignore the device and not attach a driver. @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: You might consider adding this resolution to the release notes for 2.8. LOL... sorry, I don't have input to the release notes (I don't work here). While I wrote and maintain various packages, including NUT, I'm still just a volunteer. Most packages are actually written by volunteers.
  • 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 : [image: 1753262126227-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
    yon 0Y
    said in Please update frr on Pfsense+ to FRR 10.3: https://redmine.pfsense.org/issues/15785 now frr 10.4.1
  • Discussions about the Tailscale package

    90 Topics
    594 Posts
    E
    @totalimpact Tailscale 1.54.0 is 2+ years out of date. Tailscale has made quite a number of changes since Tailscale 1.54.0, likely rendering it incompatible with their servers. I would consider manually updating the Tailscale FreeBSD package. FreshPorts does not maintain an archive of all the releases, only the latest compiled by the volunteer maintainers. The key to manually upgrading is knowing which FreeBSD version your pfSense release is running, i.e. 14 or 15. You can following along here.
  • Discussions about WireGuard

    692 Topics
    4k Posts
    M
    This is still an issue as of 2.8.0 / 25.07, and it drives me crazy. Gateway failure works as expected, the wireguard tunnels will fail over to the backup gateway and continue on as normal, but will never recover once the failed gateway comes back online. While a reboot will (usually) fix it, I usually just go into my routing settings and mark the secondary gateway as down, forcing it to revert back to the primary... the users tend to dislike it when I reboot the firewall in the middle of the day
  • Icap server not scanning eicar files correctly

    3
    0 Votes
    3 Posts
    1k Views
    F
    @michmoor I'm uploading a plain text file, I've just created one with the eicar string. The thing is that once its uploaded and on my exchange server, if I try to download the file, I will get the error message from pfsense that it's a virus, but by that point it's scanned by another service. I'm just using pfsense to check the upload.
  • 0 Votes
    1 Posts
    827 Views
    No one has replied
  • Bandwidthd with names

    2
    0 Votes
    2 Posts
    974 Views
    GertjanG
    @optimus-prime said in Bandwidthd with names: And to that extent, is there a way to assign user-defined device names within pfsense by mac address, regardless if devices are set up with DHCP, Static DHCP, or statically assigned? Of course. Add your own static DHCP leases at the bottom of this page : Services > DHCP Server > LAN One for each device + it's MAC address and the IP, member of the LAN network - and outside of the pool.
  • Available packages list is empty

    Moved
    15
    0 Votes
    15 Posts
    2k Views
    bingo600B
    @wintok Start by backing up your existing config to a safe place (or multiple places). Then i'd suggest : Since you have Netgate hardware , that you get a new install image from them, and create a usb boot stick. Then via the usb stick,upgrade your box to the latest release. I would also suggest that you use ZFS as your new filesystem, as it offers some exciting new functionalities in 22.05 ... Snapshots. I can reinstall from scratch (w. hdd format), in less than 20 min. Providing i have a working config backup.
  • BIND package "reinstall" broken?

    1
    0 Votes
    1 Posts
    618 Views
    No one has replied
  • Using syslog-ng to filter for critical events and send alert email

    2
    0 Votes
    2 Posts
    1k Views
    D
    Hi peterglock! Very interesting post. Unfortunately your instructions to do in the "Advanced tab" are not longer available in the post (or at least I cannot see them). Can you please, share them again? thanks a lot!
  • Redirect www to non www

    8
    0 Votes
    8 Posts
    3k Views
    dragoangelD
    @overlord just learn how to use Converters in HAproxy. https://cbonte.github.io/haproxy-dconv/2.6/configuration.html#7.3.1, for example regsub. http-request redirect code 301 location https://%[hdr(host),regsub(\"^www\.(.*)$\",\"\1\",i)]%[capture.req.uri] if { hdr_beg(host) -i www. }
  • 0 Votes
    1 Posts
    659 Views
    No one has replied
  • Haproxy forwardedfor option missing in GUI!

    2
    0 Votes
    2 Posts
    1k Views
    G
    never mind. ssl offloading has to be enabled for that option to show. (admins can delete this post)
  • Freeradius - VLAN fallback assignement

    5
    0 Votes
    5 Posts
    2k Views
    C
    @nogbadthebad - Thanks for your reply. If using 802.1x authentication you can have the radius server pass back the VLAN for the authenticated user (either using username/password or MAC authentication). This is all working as expected for authenticated users - I have one SSID thats broadcast, depending on the user or device (in the case of my IoT) it gets dropped onto the correct VLAN as it reads the radius response. The issue I have at the moment with PFSense is I cannot seem to set a fallback VLAN for failed authentication (ie guests) - Previously in OPNSense (using freeradius) I dropped all unauthenticated users back onto a guest VLAN for segregation. However I dont seem to have the GUI option and when trying to put in the right Syntax for the advanced options, cannot seem to get it to work.
  • Opinions on freeradius3?

    4
    0 Votes
    4 Posts
    1k Views
    D
    @dominikhoffmann I also use freerad, good tool but the GUI is a little old. Have you looked at the captive portal on PFsense? Just another option though I think I saw somewhere a few years ago about issues with IPv6. Supports radius as well
  • openvpn-client-export update request

    2
    0 Votes
    2 Posts
    955 Views
    V
    @herr_xyz Until then it's up to you to download the new version by yourself from there and install it on your Windows or even integrate it into the installer package manually.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    14 Views
  • HAProxy: https redirect frontend not working

    haproxy
    9
    0 Votes
    9 Posts
    3k Views
    G
    @viragomann Oh man! So, I finally figured out the problem. You were correct from the beginning. In fact, nearly every scenario we tried works. The problem had nothing to do with my setup. My ISP decided to up and block port 80 all of a sudden without telling me. I figured this out by going back to basics. I started up a simple webserver that listened to port 80 and just forwarded directly to that server. Worked on most every other port except 80. Spent 3 hours on the phone with my ISP to get this fixed. All works now. I really appreciate the help. I did learn a few things along the way, so not a total waste of time.
  • PIMD not showing all interfaces

    1
    1 Votes
    1 Posts
    766 Views
    No one has replied
  • stunnel 5.50_11 Will Not Start on Clean Install of 22.05

    1
    0 Votes
    1 Posts
    591 Views
    No one has replied
  • Anynone have Postfix addon working on any version of pfSsense?

    Locked
    2
    0 Votes
    2 Posts
    811 Views
    jimpJ
    No, and nobody should. A mail server does not belong on a firewall.
  • 0 Votes
    3 Posts
    952 Views
    C
    Yep! I was able to just renew the cert on that page. Thanks
  • Bulk FreeRADIUS User Add

    6
    0 Votes
    6 Posts
    3k Views
    T
    @gprakosa Thanks, it works perfect and doesn't require to reboot, changes are applied to FreeRadius package instantly. Regards.
  • Squid guard configuration dead by daylight

    1
    0 Votes
    1 Posts
    495 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.