Subcategories

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

    4k Topics
    21k Posts
    J
    @qupfer What did I bang my head over this strange 502 issue. Your solution did it! Thank you so much, even 2.5 years later!
  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    M
    Hi, I had a problem with my home network today, so I checked pfsense and discovered that suricata had blocked the wan ip. After some tests and triggering some suricata alerts, the wan ip was blocked. I restarted pfsense and ran some more tests, but the problem no longer occurred. I then checked the wan interface settings and indeed the ip list does not include the wan ip, both now that it's working and before, when it was blocked. I'm using pfsense 2.8.0 and suricata 7.0.8_2. I use PPPoE to access the Internet.
  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    571 Topics
    3k Posts
    dennypageD
    @Leon-Straathof Data retention settings are handled inside of ntopng. Documentation here. Pay attention to the RRD note. Also, if you've turned on some of the slice and dice time series information (is off by default), I'd suggest turning them back off. These balloon the storage requirements and are of little actual use.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    fireodoF
    @tinfoilmatt said in Failed or invalid Mime Type: [application/SIMH-tape-data|0]: (ASN data is IPinfo, not Maxmind) Thats correct but "GeoLite2-Country" is from Maxmind ... (that confused me) I'm considering simply adding "application/SIMH-tape-data" to the list to test. Thats what i tought too ... I'll try when I have the time for it ... Edit: I can confirm - adding "application/SIMH-tape-data" to the list at line 257 in /usr/local/pkg/pfblockerng/pfblockerng.inc did the trick - no more error! Edit: OK, problem resolved but I would like to know, whats the cause for that error! (SIMH-tape-data sounds like a "blast from the past" ...) Thanks a lot!
  • 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

    496 Topics
    3k Posts
    GertjanG
    @jimp Done. I was on acme.sh 1.0 (25.07.1) and a downgrade was proposed. Now, the issue is gone.
  • 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
    602 Posts
    S
    Hi guys, Just $0.01, because I faced same issue on pfSense+ 24.07.1 upgrade, but I think root cause may NOT be pfSense+ per se. To my understanding (which may be wrong): Tailscale uses 2 keys: node auth key - by default expires after 180 days. We do not see it, but you can disable its expiration and we normally do that, right? So node registration should not expire after 180 days and re-authentication should not be necessary. preauth key - it is valid for maximum 90 days and you input it to VPN / Tailscale / Authentication as Pre-authentication Key (eg. tskey-auth-123456789011CNTRL-2pz1kCcaSjJucckK7U5Xbz123456a890). Remember that this key is valid for no longer than 90 days. So usually when you upgrade pfSense+ (=> Tailscale upgrade) this key is well expired. Device can not (re)authenticate using it - it is expired: - not logged in, last login error=invalid key: API key does not exist (because key that pfSense+ tried to use is expired!) Tailscale says that device may sometimes require re-authentication. Here is info from Tailscale KB: Auth keys Auth keys are available for all plans. Pre-authentication keys (called auth keys) let you register new nodes without needing to sign in using a web browser. This is most useful when spinning up containers, IoT devices, or using infrastructure-as-code systems like Terraform. An auth key authenticates a device as the user who generated the key. That is, if Alice generates an auth key, and uses it to add a server to her tailnet, then that device is authenticated with Alice's identity. Think of it as logging into a device. However, if you use tags with an auth key, after a device logs in as the user who generated the auth key, the device assumes the identity of the auth key's tags. As an alternative to directly creating auth keys, consider using an OAuth client. You can use an OAuth client and the Tailscale API to programmatically create auth keys. Types of auth keys Auth keys can either be: One-off, for one-time use. They can only be used to connect a device or server one time. This is meant for situations where you can't authenticate on the device yourself, so using a key is more practical. For example, a cloud server might use a one-off key to connect. Reusable, for multiple uses. They can be used to connect multiple devices. For example, multiple instances of an on-premises database might use a reusable key to connect. Be very careful with reusable keys! These can be very dangerous if stolen. They're best kept in a key vault product specially designed for the purpose. Key expiry An auth key automatically expires after the number of days you specified when you generated the key. You can choose the number of days, between 1 and 90 inclusive, for the key expiry. If you don't specify an expiry time, the auth key will expire after the maximum of 90 days. If you want to continue using an auth key after it expires, you need to generate a new key. You can enable or disable key expiry on a device by using the Machines page of the admin console and by using the Update device key method in the Tailscale API. If an auth key expires, any device authorized by it remains authorized until its node key expires. Each device generates a node key when you log in to Tailscale and uses it to identify itself to the tailnet. By default, node keys automatically expire every 180 days. You can change the default node key expiry from the Key Expiry section of the Device management page of the admin console. Learn more about key management. You can use tags as "service accounts" and have some devices NOT bound to any specific user (removal of user removes devices he own). You can define 1 or multiple tag owners (users managing tag). Tag vs. user authentication Tags are parallel to user authentication. They serve the same role as a user account, except they're intended for service-based devices, such as a web server or an app connector. As a result, it's impossible for a user account identity and a tag identity to exist on the same device. Applying a tag to a device previously authenticated with a user account removes the user account. Similarly, authenticating a device with a user account removes all tags from the device. Because tags are intended for non-user devices, they have qualities and limitations that make them unsuitable for authenticating end-user devices, such as a MacBook or a mobile device. For example, devices with a tag-based identity cannot use SSH to connect to a device with a user-based identity. Key expiry When you apply a tag to a device for the first time and authenticate it, the tagged device's key expiry is disabled by default. If you re-authenticate a device tagged before March 10, 2022, its expiry will be disabled by default. If you change the tags on the device from the admin console, Tailscale CLI, or the Tailscale API, the device's key expiry will not change unless you re-authenticate. After you re-authenticate, the device's key expiry will be disabled. You can enable or disable key expiry on a device from the Machines page of the admin console or by using the Tailscale API. Key expiry for tagged devices Key expiry for tagged devices is disabled by default. If you change the tags on the device through the admin console, Tailscale CLI, or Tailscale API, the device's key expiry will not change unless you re-authenticate. That is, if it is enabled, it stays enabled; and if it is disabled, it stays disabled. After you re-authenticate, the device's key expiry will be disabled. You can find recently revoked or expired keys on the Keys page of the admin console. Best practices Depending on what devices you're authenticating, consider using an auth key that is: Ephemeral, for authenticating ephemeral nodes as part of short-lived workloads. Because node keys do not persist when a workload restarts, they reconnect as a different node. Tailscale automatically removes inactive nodes. For example, containers or Lambda functions should use an ephemeral key to connect. Pre-approved, for servers. If your tailnet has device approval enabled, this lets you add a device to your tailnet without further authorization. For example, shared devices, such as servers, should use a pre-approved auth key to connect in a network with device approval. Pre-signed, for nodes whose auth keys are signed locally on a signing node, which applies to tailnets with Tailnet Lock enabled. You can make an auth key (created by any means) pre-signed only by using the tailscale lock sign CLI command. Tagged, for servers. You can automatically apply a tag to a device by including the tag in the auth key. Access control policies restricting the device's permissions based on the tag apply after provisioning the device. For example, shared devices, such as servers, should use a tagged auth key to connect. I am personally going to try Tagged (preauth) key and all my pfSense+ exit nodes (3) are already tagged as "router". So I will remove nodes from tailnet and re-add with Tagged key providing "router" tag. I read that Tailscale on software upgrade MAY (rarely) REQUIRE device reauthentication. Having in mind that normal preauth keys expire after 90 days you should provide valid (non-expired) preauth key before pfSense+ upgrade? Eventually maybe if routers are tagged and preauth key is tagged then there will be no problem? Currently pfSense+ does not ask us about expiration date of Preauth Key, so it can not remind us that key is expired and it may lead to problems. When valid key is needed (reauthentication) then device will fail with the message we see. I would not blame pfSense+ yet, because I think Tailscale may require device reauthorisation sometimes and message you got tells you are trying to use expired key for authentication thus process is failing. I agree reauthentications should be rare or non-needed, but we may not know everything here.
  • Discussions about WireGuard

    696 Topics
    4k Posts
    Q
    Hi Team, I’m running pfSense Plus 25.07.1 with TorGuard WireGuard VPN as my primary tunnel for LAN traffic (for best possible speeds). The tunnel is mostly working now, but I had to go through several fixes and I’m still not confident the configuration is stable. Here’s what I’ve run into: TorGuard support originally helped set up the WireGuard client. It worked fine for about a day, but then the Unbound DNS Resolver stopped working. Even when I re-enabled Unbound manually, LAN clients still couldn’t reach the internet. The main issue seemed to be when switching between WAN (ISP public IP) and the VPN IP. Sometimes traffic didn’t switch over properly, and at one point pfSense even generated a crash report during the switch and restarted. To fix it, I reset the LAN firewall rule so that LAN traffic would route through the VPN gateway when active, and fall back to WAN when the VPN was down. After that, I was able to toggle the VPN on/off without pfSense crashing, and traffic correctly switched between ISP IP and VPN IP. At this point it works, but I don’t think the setup is completely stable. I’d like to ask for guidance on: How to make sure Unbound stays reliable when the VPN gateway goes up/down. Best practices for LAN firewall rules so clients use the VPN when it’s up, and either fall back to WAN or get blocked (kill switch) when the VPN is down. Correctly assigning DNS servers to WAN and VPN gateways. At the moment, in System → General Setup, I don’t see the gateway dropdown next to DNS entries, so my DNS servers are just “floating” with no interface binding. If anyone has suggestions, or can point me to a clean reference configuration for WireGuard + Unbound + proper DNS gateway assignment, I’d greatly appreciate it. I'd really like to have a conference with someone and go over this. I'd like to give them access using RustDesk or TeamViewer so we can talk and they can show me things. I am legally blind so I am one inch from the screen. I've also uploaded the crashdump so you can look over it. I've also been using AI, but I keep going in circles with it, so it's not perfect. Thanks in advance! Warm Regards, Jamestextdump.tar.0
  • TFTP can't create files

    2
    0 Votes
    2 Posts
    645 Views
    GertjanG
    Hi, You tried to use the entire path as a file name ?
  • Freeradius3 authorization and accounting

    2
    0 Votes
    2 Posts
    776 Views
    GertjanG
    Hi, @Javid_B: (0) exec: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_auth.sh jb@gmail.com daily: cat: /var/log/radacct/datacounter/daily/max-octets-jbXgmail.com: No such file or directory /usr/local/etc/raddb/scripts/datacounter_auth.sh: arithmetic expression: expecting primary: "/1024/1024" For every user that has a quota in a time span, a file is created here /var/log/radacct/datacounter/daily/ - the file starts with "max-octets-" in your case, it's max-octets-jbXgmail.com In this case your time duration for the quota "daily". Does this file exist ? The error message says : no ! So login won't work. All is normal  ;) I advise you to experiment with a non-email login like login like "test". Check if the file  /var/log/radacct/datacounter/daily/max-used-test is created - in the file you will find the quota size in bytes. When the login works, another file will be created :  /var/log/radacct/datacounter/daily/used-test and probably  /var/log/radacct/datacounter/daily/used-test-xxxxxxxxxx (xxxxxx is the session ID). Check this.
  • 0 Votes
    8 Posts
    3k Views
    B
    This is what happens when the Shared Secret key does now match ;)
  • Configure NUT to only monitor and do nothing?

    2
    0 Votes
    2 Posts
    619 Views
    dennypageD
    You cannot configure NUT such that it will not attempt to perform a shutdown. You could configure a shutdown command that doesn't do anything by adding the following line in the "Additional configuration lines for upsmon.conf" section: SHUTDOWNCMD /bin/echo Note however that NUT will still do everything but shutting down the system, including shutting down any slaves. I'm also unclear on how NUT will behave following the attempted shutdown. You may have to restart the service. In general however, I would not recommend the approach of trying to split the UPS between apcupsd and NUT. If you want NUT's monitoring, use NUT for the shutdown.
  • FreeRADIUS 3.x package NTLM problem

    13
    0 Votes
    13 Posts
    4k Views
    A
    @Zizi: Hi, today I've set up freeradius3 for WPA-EAP, an it is working, but only with "clear text passwords". If I change it to "MD5 Password", I get error "mschap: FAILED: No NT/LM-Password. Cannot perform authentication" Is there any way to use non clear text password storage with working WPA-EAP? Same here.
  • Email notifications fail - Service Watchdog

    6
    0 Votes
    6 Posts
    2k Views
    GertjanG
    @Mateh: Indeed. pfSense 2.4.3 running Service_Watchdogs 1.8.4. Settings from Notifications: E-Mail server: smtp.mailgun.org SMTP Port of e-Mail server: 465 Secure SMTP Connection: [tick] From e-mail address: my@email.com Notification E-mail address: my@email.com Notification E-Mail auth username: my@login.email Notification E-Mail auth password: mypass Notification E-Mail auth mechanism: PLAIN Looks fine to me. I have exactly the same thing, with one difference : I'm not using some mail supplier, but my own mail server on a delicate server on the Internet (so I have full control on both sides). You are using the right port (465 - which uses TLS from start) and you are identifying yourself correctly. If this goes wrong ones in a while, answers should by found by the one running "smtp.mailgun.com".
  • Problem with freeradius

    2
    0 Votes
    2 Posts
    572 Views
    GertjanG
    Your last image : as per https://doc.pfsense.org/index.php/Using_Captive_Portal_with_FreeRADIUS - Section : Amount of Traffic the option "re-authenticate users every minute" should be set so the user gets disconnected. Otherwise your limit of "1200" (Mbytes) will not work … What I did to check / debug all this : I read this : https://doc.pfsense.org/index.php/Testing_FreeRADIUS This : https://doc.pfsense.org/index.php/Additional_Logging_for_FreeRADIUS (written for 2.x but useful). Also : when your setup is ok, goto    Status => Services STOP the radius daemon. Acces the console. Take option 8 - SSH access. Type``` radiusd -h Read … Find the option -X Use it ! Start radfius by hand using **radiusd -X** (or **radiusd -X -xx**) Now you have all the info - there should be no red lines. Keep this console window open. Now login with a user on the captive portal. The entire login info will be laid out, and it's easy to find what went wrong. Questions about what being shown , Normal. Radius is not some small program, it's huge, took me days of just reading this one https://fr.wikipedia.org/wiki/FreeRADIUS and many others. With manuals, Radius (FreeRadius) is useless. > I added a cronjobe << 0 0 * * * root / bin / rm / var / log / radacct / datacounter / day / used-bytes - * >> This won't work  :) For example, "day" doesn't exist. See image for my cron entries, I used the the cron package of course. ![cron.PNG_thumb](/public/_imported_attachments_/1/cron.PNG_thumb) ![cron.PNG](/public/_imported_attachments_/1/cron.PNG)
  • WPAD error

    1
    0 Votes
    1 Posts
    511 Views
    No one has replied
  • Telegraf / Influxdb

    2
    0 Votes
    2 Posts
    1k Views
    C
    Duplicate of https://forum.pfsense.org/index.php?topic=145991.msg796861#msg796861 and it's an upstream issue: https://redmine.pfsense.org/issues/8425#change-36362
  • No Samba package on Pfsense?

    18
    0 Votes
    18 Posts
    3k Views
    ScottyDMS
    Forget pfSense and use FreeNAS instead. It too is built on FreeBSD. However FreeNAS needs RAM–8 GB minimum.
  • Clamd problem

    1
    0 Votes
    1 Posts
    320 Views
    No one has replied
  • Blocked Domain Reporting with Ntop

    1
    0 Votes
    1 Posts
    496 Views
    No one has replied
  • FreeRadius3 EAP-TLS error

    4
    0 Votes
    4 Posts
    2k Views
    P
    this works, but revocation will not work. so if you revoke a cert, the authentication will still pass.  If you want to be able to revoke certs, and have free radius honor that, then follow what worked for me: I have found the workaround solutions posted in the forums, for free radius and a functioning CRL, do not quite work. The workarounds listed: https://sites.google.com/site/techbobbins/home/articles/freeradius-and-crls semi work.  The problem is, the manual changes are wiped away easily.  i.e. a change in the radius config (i.e. a user attribute), will cause the radius.conf and the cert files to be overwritten.  A little background on my system: -Free radius v3 -pfsense v2.42 p1 Now, i think i may have found a workaround, that is "sticky".  It follows the same method as listed in this thread (https://sites.google.com/site/techbobbins/home/articles/freeradius-and-crls), but instead of appending the CA/CRL in the same file via the CAT command, append the CRL via the pfsense GUI to the CA cert body.  This way, every time you reload freeradius, it reads form the PFSENSE Cert files, and now everything works. Also, i found if you configure sub CA's, free radius has issues with that.  So, a work around for that, is to: -create your root CA -create sub CA -create crl for sub ca -then, "import" a CA.  the cert body will be the root->sub->crl -create free radius server cert -in free radius, use the "import" CA, and the free radius server cert ..i found if you dont do this, free radius will error with error 19, self signed in the chain.  Understand the reason to use sub certs is for security, as i understand root CA's are designed to create sub CA's, not user or server certs.  This way, if sub CA is copromised, you dont have to recreate cert chain, just that particular sub ca. I dont claim to be a PKI expert, but the above worked for me. –-note, for revocation to work, you will have to re-paste the CRL info back into the "import" cert, and restart radius.  note, that restarting radius via the GUI, i.e services click the restart gear, does not work.  I found i needed to make a change to free radius, i.e change a setting in the eap config, save it, then set it back, svae it.  this seems to trigger a true radius restart. hope this helps
  • CollectD goes off

    1
    0 Votes
    1 Posts
    550 Views
    No one has replied
  • Manually loading packages

    2
    0 Votes
    2 Posts
    491 Views
    GertjanG
    @robert.herrmann: I am a noob using pfSense and freebsd, so please be gentle. pfSense is using FreeBSD is it's base OS. But differences exists : one of them is the package handling. @robert.herrmann: I have a pfSense installation running version 2.4.1.  This system does not have access to the internet.  :( Wait … Your posting on a public forum, right ? Bring your system along the next time - update - upgrade - done. @robert.herrmann: I would like to install freeradius but am struggling.  I have managed to download the .pbi (freeradius-2.2.5_3-i386.pbi) and get it copied into pfSense machine into the /tmp directory.  But I cannot seem to find a way to install this. This situation was mentioned some time ago. I guess it was completely abandoned. I guess you have to connect  it at least ones …. edit : wait ! I guess it possible - it probably a manual job, not or very badly documented. Get out of the noob phase and you'll be fine. I asked the world for advise ( pfsense install package without internet connection ) - it came back with https://forum.pfsense.org/index.php?topic=130966.0
  • Pls develop this pkg for VPN proxy detection

    3
    0 Votes
    3 Posts
    701 Views
    J
    Thank you! I will take a look
  • FreeRadius 3 and OTP

    5
    0 Votes
    5 Posts
    2k Views
    S
    Hi there, I just registered to comment that I got OTP to work with PAP protocol only. Set it up in System > User Manager > Authentication Servers > your FreeRADIUS auth server > Server Settings > Protocol: PAP. Note that MS-CHAPv2 is the default option. I hope this helps someone!
  • SOLUTION: apcupsd to Minisys (ProtectLI) and APC Smart Serial Interface

    1
    0 Votes
    1 Posts
    821 Views
    No one has replied
  • Stunnel enhancement.

    1
    0 Votes
    1 Posts
    564 Views
    No one has replied
  • Block internet access for kids, but allow FaceTime (on port 80)

    11
    0 Votes
    11 Posts
    2k Views
    NogBadTheBadN
    Seems to work protocol any. I'd do the schedule like my second attachment, where 172.16.3.100 is the iDevice IP or an alias that contains multiple IP addresses. [image: Untitled.jpg] [image: Untitled.jpg_thumb] [image: Untitled.jpg_thumb] [image: Untitled.jpg]
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.