Subcategories

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

    4k Topics
    21k Posts
    H
    Hello all, please dont shoot me on sight, im one of those who kinda set up things by following tutorials and actually see things how they look like on screen. And English is not my native language either. I setted up HAProxy with pfSense package for Nextcloud which works as VM at ip 192.168.1.214. It has self signed cert. I created ACME with Porkbun as wildcard and all that works totally fine. BUT i have big issue which i dont know how to solve. When im acessing by nextcloud.mydomain.xx in LOCAL LAN it serves page fine, but it uses self signed cert. Will someone, please, by example show me how to create working rule which will force pfSense to serve 192.168.1.214 and all its translation or whatever exclusively outside? Bare in mind that 214 has to be able to lurk in 192.168.1.0/24 also, since data storage is served by NFS on TrueNas. 192.168.1.1 (pfSense IP), 192.168.1.214 (Nextcloud IP) All works fine from outside, but from local LAN it bypase HAProxy, and serve nextcloud internal cert with correct domain name nextcloud.mydomain.xx . Well it seems that only bypas cert part since domain works. Somehow it resolve. This is what dig command does from local lan: ;; ANSWER SECTION: nextcloud.domain.xx. 3600 IN A 192.168.1.1 nextcloud.domain.xx. 3600 IN A 192.168.1.214 ;; Query time: 0 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP) ;; WHEN: Thu Oct 30 08:48:37 CET 2025 ;; MSG SIZE rcvd: 83 Main problem here is that Nextcloud app go stuck when we are on local network. It does not work since it gets different cert. It does not even ask do we want to accept it or not. Even if does it will be bit weird to do that every time we come home. Many thnx in advance!
  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    B
    @Greyhat I think it's useful to work with what we've got and figure something out for the (i hope) edge cases later. So for the JSON I figured you can actually use an existing suricata integration by co-opting their pipelines.
  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    573 Topics
    3k Posts
    dennypageD
    @kabeda If memory serves, that old version of ntopng did not run as user ntopng, but as user nobody. There are lots of problems in that old version. Anyway, check the ownership and permissions of /var/db/ntopng and make sure it matches the user that ntopng runs as. You may need to set ownership of the entire hierarchy. Example: /usr/sbin/chown -R nobody:nobody /var/db/ntopng However, the better choice would be to upgrade to a more recent version.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    tinfoilmattT
    Resurrecting this thread for two reasons: 1.) Because this is where I landed when newly confronted with the topic using pfBlockerNG-devel 3.2.10 on pfSense CE 2.8.1-RELEASE; and 2.) to confirm that the 'issue' and 'fix' here continue to be viable despite the TLD analysis function being considerably modified since the last post in September 2024. Current function @ L7255 of /usr/local/pkg/pfblockerng/pfblockerng.inc: // Determine max Domain count available for DNSBL TLD analysis (Avoid Unbound memory exhaustion) $pfs_memory = (round(get_single_sysctl('hw.physmem') / (1024*1024)) ?: 1000); $pfb['pfs_mem'] = [ '0' => '100000', '1500' => '150000', '2000' => '200000', '2500' => '250000', '3000' => '400000', '4000' => '600000', '5000' => '1000000', '6000' => '1500000', '7000' => '2000000', '8000' => '2500000', '12000' => '3000000', '16000' => '4000000', '32000' => '8000000' ]; if ($pfb['dnsbl_py_blacklist']) { array_walk($pfb['pfs_mem'], function (&$value) { $value = $value * 3; }); } foreach ($pfb['pfs_mem'] as $pfb_mem => $domain_max) { if ($pfs_memory >= $pfb_mem) { $pfb['domain_max_cnt'] = $domain_max; } } On a system with 32 GB of RAM attempting to 'analyze' over 24M but less than 27M domains, the line "'32000' => '8000000'" was changed to "'32000' => '9000000'" (i.e., permitting a maximum number of 27M domains to be 'analyzed') in order for the function to complete successfully. Analyzing (and then subsequently loading) precisely this number of domains... Original Matches Removed Final ---------------------------------------- 24270656 21017552 6463516 17807140 ----------------------------------------- ...results in Unbound's stable operational consumption of ~6 GB of RAM and any/all pfBlockerNG 'Reload' options consuming as much as ~6 GB of RAM, concurrently. Therefore one should only attempt this DNSBL hack if they're confident that their system has at least 13 GB of memory 'headroom' (taking into account normal system operation and any other resource-consuming, installed packages).
  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    102 Topics
    3k Posts
    dennypageD
    @netboy said in Docker container for nut server?: I am NOT installing docker in pfsense - offcourse this is a big security risk - I agree !!! My apologies. I interpreted your earlier question I think i need to explain what i am asking for. I am fully aware if your netgate router is attached to an UPS you can configure netgate. Let us say you 5 UPS's in your home and you want nut server to read all the UPS's and show me a dasboard about the status of all the UPS's ? - Is there a ready made docker container for client server nut with dashboard functionality? as a request to have something running on pfSense, which is why I responded I believe most people would say that the type of thing you are asking for isn't something you want to run on your firewall. I recommend using a general purpose operating system behind the firewall instead. Mutual misunderstanding I guess. If you want to explore general NUT monitoring, and not something particular to pfSense, I would recommend the NUT Users list as a better place to seek information.
  • Discussions about the ACME / Let’s Encrypt package for pfSense

    503 Topics
    3k Posts
    M
    I am using the DNS-Update method I have to use a DNS-Sleep of 5 minutes to let the letsencrypt txt dns record update propagate. During this 5 minutes the acme-webgui times out. when the acme-webgui times out the Action list is NOT executed. How can I solve this ? Would it maybe be an idea to let the acme.sh script execute the actions in the action list as a post-hook instead of the web-gui? Or maybe add an option to add post-hooks in the webUI ?
  • Discussions about the FRR Dynamic Routing package on pfSense

    296 Topics
    1k Posts
    C
    This one has been tricky still not sure what to try. Any ideas?
  • Discussions about the Tailscale package

    92 Topics
    638 Posts
    L
    @Vad-B Interesting indeed! I just tried to fill the Pre-authentication Key with file:/dev/null. I get an crash in pfsense after some time, but when I login again is saved. For me this for after service restarts at least this solves it, including the issue with the routes not being advertised even set in the WebUI. Havent done an full restart of pfsense (yet)
  • Discussions about WireGuard

    710 Topics
    4k Posts
    N
    Found a solution: When using the desired outbound address in the outbound nat rule for translation directly, instead of using an alias ip, it seems to work as desired.
  • Postfix disabled on pfsense upgrade…why?

    2
    0 Votes
    2 Posts
    794 Views
    marcellocM
    The service is disabled during uninstall/reinstall.
  • NRPE dont_blame_nrpe=1

    1
    0 Votes
    1 Posts
    721 Views
    No one has replied
  • Captive portal auth page

    2
    0 Votes
    2 Posts
    617 Views
    M
    File manager.  Great.
  • Captive portal vouchers

    1
    0 Votes
    1 Posts
    720 Views
    No one has replied
  • LightSquid Problem

    2
    0 Votes
    2 Posts
    699 Views
    S
    yesss, for next refers,it was a simple mistake by me,just select lightsquid>setting>Report Scheme (something other than Text) :D [image: 222.PNG] [image: 222.PNG_thumb]
  • Nmap-6.40_2 pkg v1.2 - Failing to Install

    6
    0 Votes
    6 Posts
    2k Views
    K
    No worries, upgrading to 2.1.3 has fixed the issue. Must have been something that got changed in the package or the package system. Thanks! Edit: Not sure if it matters, but the error message said something pertaining to a missing nmap.inc, install failed, then the install would gracefully back out and perform the nmap uninstall, removing all nmap components. If I can get the exact error message from an un-updated install I will before I update it.
  • Suricata package blocking mode coming soon

    16
    0 Votes
    16 Posts
    4k Views
    bmeeksB
    @BBcan17: Great stuff… This will make testing that much easier!! EDIT: On another note, also having the functionality to create a fresh NEW interface would also be beneficial instead of trying to re-enable all of the previously disabled rules. That functionality is there today with the current (+) icon.  I'm not changing that one.  I will be adding new (+) icons beside each configured interface.  Clicking the (+) beside an already configured interface will perform the DUP function.  The layout will be pretty much just like the firewall rules page.  So the (+) icon at the top right of the tab will create a new fresh interface (just like it does today).  The (+) icon beside an existing configured interface will DUP it. In terms of the rules, on the RULES tab today is an icon that will remove all forced enable/disable changes for all rules on the interface.  This essentially resets the rules to their default state.  There is a similar icon that will do this for only the currently selected category. Bill
  • Suricata - MM/DD/YYYY Log Entry Formating

    4
    0 Votes
    4 Posts
    1k Views
    bmeeksB
    @priller: Not "alerts.log" …... "suricata.log".  It uses a different date format from all the other logs. suricata.log 3/5/2014 -- 14:37:21 To match the other logs that should be 5/3/2014, or more specifically 05/03/2014 .  Today being 5/5, it's a bad day to compare the different formats!  ;D alerts.log 05/01/2014-02:38:47.669925 http.log 05/03/2014-17:40:37.873931 tls.log 05/02/2014-07:39:35.069581 Oh…sorry, I understand now.  I will look again in the config docs, but I don't think there is any way to change that outside of editing the actual binary source code.  I can see how much of an issue that would be and perhaps sneak it into the next release when I upgrade to 2.0. Bill
  • Lots of snort alerts after pfsense update to 2.1.2

    13
    0 Votes
    13 Posts
    6k Views
    BBcan177B
    Then I am baffled as to why one firewall has the issue while another (supposedly configured the same way) does not.  There would be only two logical explanations:  (1) either they are, in fact, not actually configured the same although they are supposed to be, or (2) you said one was VMware-based, and it is conceivable that VMware's virtual networking could play into the mix with that HTTP_INSPECT alert. Maybe setting up a standalone pfSense install to see if VMWare is the culprit is the best solution to rule out the Virtual machine idiosyncrasys. or a VM machine for the Main Site.
  • Captive Portal issues

    2
    0 Votes
    2 Posts
    595 Views
    M
    A simple reboot of the laptop resolved it.  Why would this be the case?
  • Asterisk-1.8.26.1 package on pFsense 2.1.2

    3
    0 Votes
    3 Posts
    1k Views
    C
    Tx. I noticed another issue this WE. I took a fresh Asterisk backup and did some config tests. After that I wanted to go back to my backup (as I usually do after testing)…: it restored the backup and initiated a reboot after reboot....it re-installed the Asterisk package again !!!! then I had to restore (again) and it works... Strange behaviour no ?
  • HAPROXY Connection limit

    2
    0 Votes
    2 Posts
    3k Views
    P
    Seems you have found the wrong forum? pfSense which is based on FreeBSD has nothing to do with CentOS ? You should probably try the haproxy mailing-list for this question, maybe one of the core developers present on that list can help you further: haproxy@formilux.org
  • Suricata 1.4.6 pkg v1.0.1 no alerts, no blocking

    3
    0 Votes
    3 Posts
    1k Views
    bmeeksB
    @simby: Hi! i have install Suricata 1.4.6 pkg v1.0.1 with snort. Snort is disabled, suricata is On with AC + blocking. In log i don see any alerts, no blocking. I have tested with grc.com  :(( I have pfsense 2.1.3 x64 Not a good idea at all to run these two packages together on the same firewall.  I would remove the Snort package if you want to use Suricata.  Also, did you select some rules for Suricata to enforce?  You did not mention that in your post.  Oh, and one other point– Suricata really works best only with the Emerging Threats rules.  There are many of the Snort rules that have Snort-specific keywords in them, and these rules will fail to compile on Suricata.  Suricata will start, but it will not use any rules that fail to compile.  This is different from Snort.  If Snort chokes on any rule during compilation, it will not start up.  Go to the Logs Browser tab and examine the suricata.log file for the interface and look for any errors. Bill
  • 0 Votes
    1 Posts
    785 Views
    No one has replied
  • Snort is not blocking

    6
    0 Votes
    6 Posts
    1k Views
    bmeeksB
    @tomtomtom6600: hi bmeeks, thanks for explaining my second problem. This is clear now. Back to my first problem. I will do what you have mentionend, but is it possible that my problem has something to do with squid running in transparend mode. Is it possible that those downloads are cached thanks Ah!  Yes, caching is a possibility.  If you mentioned it before, I missed you saying anything about squid running. Bill
  • 0 Votes
    3 Posts
    1k Views
    W
    Hrmm yeah only unbound-1.4.21_1.tbz is available. 1.4.22 for 2.0.X was not built for some reason automatically. You on 2.1.3 now so I am not going to worry too much :)
  • Captive Portal voucher page not opening

    3
    0 Votes
    3 Posts
    802 Views
    DerelictD
    Can you manually connect to http://interfaceaddress:8000/  ??
  • Captive portal on pfSense

    2
    0 Votes
    2 Posts
    852 Views
    M
    It seems many times I post here, a bit of knowledge is forced back to me through the web, my keyboard and into my head.  It seems I figure it out immediately after posting (whether or not a get good advice). In this case it was the interface assignment which was set to the physical interface, not the VLAN on that interface. Miles Deep out
  • Snort 2.9.6.0 pkg v3.0.8 Update – Release Notes

    1
    0 Votes
    1 Posts
    717 Views
    No one has replied
  • [Solved] Corrupt config? Failed packages upgrade etc.

    11
    0 Votes
    11 Posts
    4k Views
    BBcan177B
    @bmeeks: While not a bad idea, if the IP address changed, then it would become a false "fix" and folks would assume it was working when it in fact might not be. If pfSense could fix the code to allow domain names it would be really beneficial. Couldn't an alias be setup as packages.pfsense.org and at each interface restart, it would perform a dig packages.pfsense.org +short as the ip address? I assume that the repo is coded in the update page and could be extracted. Just a thought.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.