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! Ted
  • [Solution] When Squid stops working after a reinstall…

    1
    0 Votes
    1 Posts
    688 Views
    No one has replied
  • Squid2 consumes 100%CPU

    2
    0 Votes
    2 Posts
    781 Views
    ?
    No one having an idea why my Squid is at 100% CPU?  :'(
  • Snort 2.9.6.0 pkg v3.0.7 Update – Release Notes

    15
    0 Votes
    15 Posts
    2k Views
    S
    Exactly. :) Its a good idea so you wont have any trouble with any memcap triggering blocks of mail with no real scary scenarios…
  • Permission issue Squid2+Squidguard2

    1
    0 Votes
    1 Posts
    769 Views
    No one has replied
  • SquidGuard - Local characters in regular expressions - Not supported

    18
    0 Votes
    18 Posts
    8k Views
    C
    I use squid and squidguard since ten years and i never had problems with any characters with squidguard. I discover pfsense and i am  disappointed with accent and special characters in regular expression …A restoration XML is made . Problemes comes from XML file of pfsense (config.xml) and iso instead of utf-8 support like says Doktornotor. :-[ :-[
  • Dansguardian See Source IP

    5
    0 Votes
    5 Posts
    2k Views
    Q
    Hey all, Thanks a lot for your replies. I've configured Squid/Dansguardian as suggested and it appears to be working. In Sarg and I monitor Squid logs and see local lan IP's now. :) Might try and play around with dglog2 at some point. Cheers!
  • C-icap not scanning https eicar - squid3-dev + squidguard-squid3 + snort

    1
    0 Votes
    1 Posts
    795 Views
    No one has replied
  • Lightsquid and groups in SquidGuard (working patch inside)

    3
    0 Votes
    3 Posts
    1k Views
    S
    Squid can't handle with group informations?!? With the patch lightsquid does not use trafficinfomation  from LightSquid direct. The patch only adds a button to the GUI. The group information can be transferred manually via the GUI. Lightsquid  takes no information from  Squidguard directly. The patch supports the user only in the transfer process.
  • Service Watchdog - email notification when service stop detected

    7
    0 Votes
    7 Posts
    3k Views
    C
    Service Watchdog is a great tool and since the e-mail notification is added is nearly perfect. One more request… Is there a way to add a check box for each service to say "don't restart service" or similar? Basically when the service stops unplanned send a notification e-mail like it does already but don't actually restart the service. Notify only. Thanks, Mike
  • Ntop on pf2.1.3 does not display host specific data

    2
    0 Votes
    2 Posts
    2k Views
    E
    This is the same problem as reported in this thread: https://forum.pfsense.org/index.php?topic=75801.0 No solutions as of yet though.
  • 2.1.X AND TBZ & PBI PROBLEM

    1
    0 Votes
    1 Posts
    629 Views
    No one has replied
  • SOLVED: pfSense 2.1.3 update broke Dansguardian redirect

    1
    0 Votes
    1 Posts
    800 Views
    No one has replied
  • Pfblocker stopped working…

    10
    0 Votes
    10 Posts
    2k Views
    F
    From the link I posted earlier https://forum.pfsense.org/index.php?topic=42543.705 @doktornotor: @nipstech: No I didn't. The only rules are the rules that block private and bogon networks. Well, that is the problem… Create something safe there (like, access from 127.0.0.1 to some port). Known bug. Try creating a dummy rule then try enabling pfblocker
  • Email Reports - No log info included

    8
    0 Votes
    8 Posts
    4k Views
    ?
    Yeah, works! party Many thanx!
  • Squidguard / does not allow ip address in url

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [PATCH] siproxd patch for static WAN behind NAT

    1
    0 Votes
    1 Posts
    844 Views
    No one has replied
  • Captive portal - is it me or is this product not ready?

    3
    0 Votes
    3 Posts
    930 Views
    bmeeksB
    Hi Miles: I'm not a captive portal user or maintainer, but there is a dedicated forum for it here:  https://forum.pfsense.org/index.php?board=2.0 Someone in there might be able to help.  You may have tried there already, and if so just ignore this post. Bill
  • Trying squid but can't even block a domain

    1
    0 Votes
    1 Posts
    637 Views
    No one has replied
  • PfBlocker Alias log problems

    4
    0 Votes
    4 Posts
    1k Views
    BBcan177B
    @splmachine: That rule was exactly what I needed, Thanks. Now I can match up rule number with the actual rule. One last thing though, looking in the log settings I have raw logging enabled, and most of the options enabled. Is there a way to have the logging show pfBlockerAliasName vs something like "Rule 50"? Or is that it? Is Rule 50 one of the Default rules or a pfBlocker Rule? If its a Default rule it will just show the Rule Number. You would most likely leave these three off. Especially the first one as you will get a lot of noise. Log packets blocked by the default rule   Log packets blocked by 'Block Bogon Networks' rules   Log packets blocked by 'Block Private Networks' rules One thing to remember is that if you modify a Rule, it will change the Rule Names in the Firewall log (all will be mismatched). This will hopefully be fixed in 2.2
  • Squid3-dev causes Fatal error: Call to undefined function curl_init()

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