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
    T
    @chpalmer Me too! 25.11-BETA (amd64) built on Tue Oct 28 12:38:00 CST 2025 FreeBSD 16.0-CURRENT Ted
  • Miniupnpd Package

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Patch to enable Squid cachemgr

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    B
    OK.  I see the menu options in squid_ng.xml, but they are not appearing in the GUI.  Maybe I am just misunderstanding how the package/GUI system works.  Could someone give me pointers please? Thanks!
  • Need PerUserBW Package

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    S
    You clearly are not understanding what I am saying.  Research ALTQ and Per user bandwidth.
  • Squid stats

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    B
    Login to a shell and check /var/squid/log.  You should see a cache.log, and if you have logging enabled you will have an access.log.  Also, check to make sure that the daemon is runinng (ps aux | grep squid).  The cache is kept in /var/squid/cache as well.  So see how large that directory is.  There is also a cachemgr patch in the forums that I am looking into installing at the moment.
  • Squid in RC2

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    S
    http://forum.pfsense.org/index.php/topic,1820.0.html RC2h is now up.  To upgrade run this from a shell ( option 8 ): For a list of bugs since RC2:  http://cvstrac.pfsense.com/rptview?rn=28 Run this command: fetch -q -o - http://www.pfsense.com/~sullrich/update_to_rc2h.sh | sh - This should be the last update before RC3.
  • Squid in RC2

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Squid 0.4 beta on RC2

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    F
    @jeroen234: uninstall squid upgrade to the latest version of rc2 i beleve its rc2g now install squid again I uninstalled squid, cleaned up cache and config.xml,  upgraded up to f (didn't find any g?) and reinstalled. Same errors I'm afraid.
  • Snort, SnortSam & Oinkmaster

    Locked
    11
    0 Votes
    11 Posts
    7k Views
    Q
    Just a note Imho it is easier to operate an IDS on an external device! marcus
  • About Some Packages Problem

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    M
    OH,I SEE! Waiting it realease~~~~~~~
  • Squid (transparent, LAN+OPT) OPT subnet access: Permission denied

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    S
    It works fine with RC2. Did you uninstall and then reinstall?
  • Squid in RC2e

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    jahonixJ
    . …well, reinstalled it 2 times without success. After that I deleted the package, rebooted and installed it again. Now it works as expected. Just to let you guys know... Cheers jahonix
  • FreeNAS undefined function problem

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    J
    Thanks for clearing that up! I think I will try to install head on a spare comp to experiment with, maybe try to make it dual boot FreeBSD/pfsense so that I can become more familiar with this stuff.
  • Error install HAVP with GUI

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    L
    logs erros  havp  ALPHA 0.6 with GUI : Downloading package configuration file… done. Saving updated package information... done. Downloading havp and its dependencies... done. Checking for successful package installation... failed! Installation aborted.
  • Problems with Squid and SpamD

    Locked
    20
    0 Votes
    20 Posts
    9k Views
    S
    Uninstall and reinstall the squid package.
  • Squid not allowing access on port 88 outbound

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    ?
    You're bumping up against the squid ACLs.  Consult the squid documentation and modify your squid.conf appropriately.
  • BSDstats package

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Squid working, but getting some "operation timed out" errors

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    C
    From the "Better Late Than Never" Department: Log into the box and use squidclient to query squid for stats: squidclient mgr:menu will give you a complete list of available commands. squidclient mgr:info is generally the first and most useful query to run. Look at the statistics related to median response time. Of particular interest will be the time it takes DNS to answer requests. Remember, squid is a proxy, that means that it's doing a lot of work in place of clients. Each request consumes system resources while it's being processed and the longer it takes to complete the transaction the longer those resources are unavailable to handle other requests. Also, make sure you're using diskd for async I/O, if possible, and that shared mem is tuned properly (if shared mem isn't tuned properly you'll get scary messages about resources being unavailable in the logs). NOTE: diskd can be a pain. If aufs works, use it instead. The last info I read on diskd v. aufs stated that in order for aufs to work on freebsd, threads would have to be able to do non-blocking I/O. I'm not sure about the current kernel, so more research is required. Don't use the default cache object removal policy, it's slow, inefficient and indiscriminate. Use one of the heap-based policies instead. Choose whichever policy meets your need, the primary distinguishing characteristic being their affinity for object size or age. Check the squid FAQ for more information.
  • DSpam

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    S
    Great! We should start a Starbucks fund for the dev's… I know I drank way too much Russian Sludge (no offense to the ruskies, but adding coffee grounds to a basket over and over until you can't close it makes for some interesting coffee) in my day developing grid software for super collider research. Anyways, I'm going to get a test box or two running. Let me know if there's any other way I can contribute other than submitting meaningful and detailed bug reports. Unfortunately no matter how many Frapa's or Mocha's you drink, it still doesn't make release day come any sooner lol… Keep up the good work guys.
  • Updated packages, incoming breakage, feedback needed

    Locked
    31
    0 Votes
    31 Posts
    18k Views
    R
    @mrreload: Ok, I tried again and I am getting the same thing. Log shows exactly the same as earlier post. I have tried deleteing the havp package file from /tmp, same. Tried to install it with or without squid installed. Tried a fresh install of pfsense, same. Strange thing is I have other packages installed without any issue. Squid and Freeradius. The same happens for me, even on a new install of pfsense.  Here's the error i get for HAVP: Downloading package configuration file… done. Saving updated package information... done. Downloading havp and its dependencies... done. Checking for successful package installation... failed! Installation aborted. Here's the error I get when trying to install CLAMAV: Installing clamav and its dependencies. Executing custom_php_resync_config_command()... It just sits there until I go and close the page after several minutes.  Weird thing though is that CLAMSMTP installs fine without any problems. Thanks in advance...
  • Asterisk

    Locked
    8
    0 Votes
    8 Posts
    5k Views
    H
    Get a soekris/wrap and throw one of these ready made asterisk images to it. This will only use around 3 watts.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.