Subcategories

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

    4k Topics
    21k Posts
    F
    Hello, I use Squid as an explicit proxy, but I can't bypass the private destination IP addresses. Do you have any ideas?
  • 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.

    572 Topics
    3k Posts
    keyserK
    @Antibiotic No it’s not possible with NtopNG as it is not a Netflow collector. You need nProbe for that which will “translate” recieved netflows into flows that NtopNG understands and can visualize (with very very little detail might I add as Netflows has no additonal information apart from sender/reciever and volume). The NtopNG package and the product in general is more geared towards visualising and recording traffic details from actual packet captures. This contains MUCH more metadata about the sessions than netflows (DNS names, protocol information and myriads of other things). But pffSense Plus has a builtin Netflow exporter if you have an external netflow collector on hand.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    G
    FYI, this bug is still present on pfSense v2.8.1-RC and pfBlockerNG-devel v3.2.8
  • 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

    500 Topics
    3k Posts
    GertjanG
    @gorkrul said in Let's Encrypt Cert via ACME ask for oathtool (PFSende 2.8): so, what could be the solution then? or what other best practice recommended? acme.sh uses a 'scripted' or 'automated' login against 'INWX'. If an 2FA is needed to passs through, then, afaik, you can't use that access - acme.sh won't be able to grab your phone and copy over the challenge code. I'm not a 'INWX' (dono what/who that is to be honest) but I advise you to go to their support (foruim, FAQ, etc) and xheck how other, using 'INWX', set their acme.sh. Their support page said : https://www.inwx.com/en/offer/api where acme.sh is mentioned as 'possible'. here is a list with open issues with INXW : https://github.com/acmesh-official/acme.sh/issues?q=is%3Aissue%20state%3Aopen%20INWX - maybe yours is there also ? My pretty broken advise would be : stop 2FA ....
  • 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
    608 Posts
    Y
    Well, I spent some time tonight playing around with this and I think I have it. Some suggestions for others: Generate the OAuth client in the Tailscale admin before anything else. Make sure to create the tag you'll need. One per pfSense instance (and clearly, one OAuth client per pfSense instance). Give the OAuth client the permissions you think appropriate. Very Important: make sure that you can generate an API key with the OAuth creds. The OAuth creds are, apparently, used by the CLI to generate an API key. The latter is what does the trick in tailscale up. Do this from the pfSense console: curl -d "client_id=kY5Mv4h8kQ11CNTRL" -d "client_secret=tskey-client-kY5[invalidchars]CNTRL-ZXo2FfBbb[moreinvalidchars]GVT" "https://api.tailscale.com/api/v2/oauth/token" If you don't get back something like this, you'll never be able to get it to work: {"access_token":"tskey-api-kM[lotsofinvalidchars]NTRL-[stillmoreinvalidchars]9YevL","token_type":"Bearer","expires_in":3600,"scope":"all"} Here's what worked for me if the above returned an API token: /usr/local/bin/tailscale up --auth-key=tskey-client-[greekedout]GVT\?ephemeral=false\&preauthorized=true --accept-dns=false --accept-routes --advertise-exit-node --advertise-routes=192.168.211.0/24 --advertise-tags=tag:[yourtaghere] Make sure you have the cron package installed. Then add a @reboot entry using the full path (see above). I also added a cron entry every six hours as if Tailscale is up, this command does not interrupt or reset any sessions. I've left some bytes of the creds in these examples to make it clearer where your full creds should go. The curl command requires the escape symbol (\) in the parameters that will be passed to the control plane. FWIW, I lost an hour or more because I had (God only knows why) set Tailscale on one pfSense instance to accept DNS. Do this and the router cannot resolve the control plane API endpoint. Dumb. And I own it. I don't know if this "fixes" everything. But it's a lot of work and it shouldn't be necessary. Somehow, this package to be useful needs to survive reboot without the need to go to these lengths.
  • Discussions about WireGuard

    699 Topics
    4k Posts
    S
    @Bob.Dig what's the right place?
  • 0 Votes
    2 Posts
    2k Views
    KOMK
    I just went through this same exercise a few weeks ago.  Nice job.  The only things I would suggest would be for you to clean up some of the inconsistencies.  For example, it's pfSense, not pfsense or PFsense.  Facebook, not facebook.  HTTPS, not HTTPs.  Squid, not SQUID.  SquidGuard, not SQUID Guard.  WPAD, not Wpad.  Prerequisites ordered list has unbold #2.  Your guide would be more universal if you didn't assume that they had an AD network.  I might instead host the WPAD file on pfSense itself as per their guide: WPAD Autoconfigure for Squid Good job, though.
  • Simple Squidguard question - Google Ads - Can't believe I can't find this

    6
    0 Votes
    6 Posts
    2k Views
    E
    For google I have set these two entries: googlesyndication.com 0.0.0.0 Block Advertising googletagservices.com 0.0.0.0 Block Advertising This also takes care of any subdomain like "pagead.googlesyndication.com" for example. I found in another topic that people advised to use "host" entries, this however was not working for me. Important, you have to set pfsense dns server to 127.0.0.1 and clients have to use pfsense exclusively as a dns server. To achieve this, I've made a firewall rule to block all other dns servers (port 53) and only allow the pfsense box as a dns server for clients. This works wonders, I absolutely hate ads. Cheers.
  • Snort 2.9.7.0 pkg v3.2.1 Update Release Notes

    22
    0 Votes
    22 Posts
    6k Views
    C
    Hello, I tried to get OpenAppId working, but it doesn't want to… My snort is working, VRT & OpenAppId rules are downloaded. VRT alerts appear. I followed this tutorial : https://forum.pfsense.org/index.php?topic=84227.0 When I go to reddit, nothing is logged in alerts. Nothing useful in the firewall logs neither. I'm running pfsense 2.1.5 with the latest version of snort. Any idea ? Thanks !
  • Bug on squid reverse proxy

    3
    0 Votes
    3 Posts
    932 Views
    K
    squid3 3.1.20 pkg 2.1.2 which part do u want? its huge… the problem appears when i add a cache_peer, example code in squid.conf is like this: #192.168.84.101 cache_peer 192.168.84.101 parent 80 0 proxy-only no-query no-digest originserver login=PASS round-robin name=rvp_HTTP-101 all the mappings start using that peer, until i assing the peer to a mapping, then it start working as it should…
  • Squid3-dev transparent…again

    2
    0 Votes
    2 Posts
    775 Views
    marcellocM
    It works.
  • Squid - diskd bug (ipcs and ipcrm not available)

    8
    0 Votes
    8 Posts
    4k Views
    T
    For Squid3 (3.4.10_2 0.2.5), on pfsense 2.2 you need ipcs and ipcrm from a 10.1 base. The diskd text should reflect that, now it still refers to 8.3. diskd uses a separate process to avoid blocking the main Squid process on disk-I/O. To use ipcs and ipcrm on squid, Download livefs.iso from ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/8.3/ mount it and copy /usr/bin/ipcs and /usr/bin/ipcrm to your system and set them as executables. diskd uses a separate process to avoid blocking the main Squid process on disk-I/O. To use ipcs and ipcrm on squid, Download livefs.iso from ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.1/ mount it and copy /usr/bin/ipcs and /usr/bin/ipcrm to your system and set them as executables.
  • FreeRADIUS “daily” issue

    6
    0 Votes
    6 Posts
    2k Views
    G
    Simply deleting /var/log/radacct/timecounter/db.daily and starting the service fixed the issue. The newly created db.daily is 64 KB, not 16 KB. So it looks like it got corrupted somehow. How do we prevent this from happening in the future? Thank you
  • About haproxy-devel

    2
    0 Votes
    2 Posts
    828 Views
    P
    First add a backend, in there you can add multiple destination servers. To actually use it, you also need a frontend that uses the backend and listens on a port.
  • Squidguard/Web Filtering Questions

    3
    0 Votes
    3 Posts
    984 Views
    J
    Thanks for your reply.  I definitely have some reading/digging to do but that link appears to contain helpful information for the active directory piece.
  • Snort error: Could not create configuration reload thread

    11
    0 Votes
    11 Posts
    3k Views
    bmeeksB
    @johanstrand: Hi! I had it set to AC. I changed to AC-BNFA and it Went from 1.3GB to 380MB. Maybe this was the reason for the original problem. I am still suspicious of the rules because now (after resinstall) I can activate all rules using AC as the pattern matcher and snort starts without any problem and it takes about 1.4GB of RAM. I can not reproduce the reconfig thread problem. /Johan The AC pattern matcher will slowly gobble up RAM as it operates.  I have seen posts on other sites where users have had it gobble up 16 GB of RAM and more with a lot of traffic and rules. There is no appreciable difference in the performance of any of the pattern matchers on today's hardware.  AC-BNFA or AC-BNFA-NQ is the suggested setting, and I would advise to never change it. Bill
  • Squid as parent for havp

    11
    0 Votes
    11 Posts
    3k Views
    marcellocM
    @webstor: Tried, couldn't fix it. Still the icap error. Maybe related only to amd64 ? Check your logs the icap is working on 0.2.4 version. There is a typo on clamav config check that i'll send a fix today.
  • Revamp of an old closed question regarding uPnP proxy.

    1
    0 Votes
    1 Posts
    620 Views
    No one has replied
  • Can snort be configured for a single interface or VLAN?

    5
    0 Votes
    5 Posts
    2k Views
    T
    Well I'm trying to eliminate any security measures from a certain lan due to bitching about the rules blocking stuff… so adding snort to the wan will probably cause more issues and they are not willing to troubleshoot.
  • Apply different blocking level to different VLans

    7
    0 Votes
    7 Posts
    2k Views
    jahonixJ
    Surely I know and have used Squid as cache. But never more than that. Thanks for pointing me to it.
  • Squid Reverse Proxy stops working when using Squid3 load balancing ACL

    2
    0 Votes
    2 Posts
    2k Views
    J
    I figured out how to fix the issue. First I had to learn some Squid bits and figure out how the Squid.conf is interpreted (ie. top-to-bottom for first-matched ACLs) and what some of the various "tags" mean. I found the following link quite useful to get some basics under the belt: http://www.deckle.co.uk/squid-users-guide/squid-configuration-basics.html After grokking the Squid.conf that was generated by pfSense, I figured out what the existing reverse-proxy configuration ACLs were (as it was needed to for the cache_peer_access tags). For those interested, you can use the "Edit File" function under the "Diagnostic" in the webconfigurator to browse to the generated Squid.conf file. In my case it was under: /usr/pbi/squid-i386/etc/squid/squid.conf Note: Yours may in in a different location if you use a different version or have the AMD64 version of pfSense. After figuring out how these are interpreted by Squid (i.e. the order, precedence, overrides, etc.) with the help of the above link, I understood what was needed. I looked up all the reverse-proxy ACLs generated by pfSense and create an tcp_outgoing_address tag for each using the LAN side IP (or DMZ side if that's where you are reverse-proxying to). For example, the following is what I ended up with. This must be placed above the bits for the random ACL to load-balance the forward-proxy. 192.168.0.254 is the IP of my LAN side interface: tcp_outgoing_address 192.168.0.254 OWA_URI_pfs tcp_outgoing_address 192.168.0.254 rvm_Extranet tcp_outgoing_address 192.168.0.254 rvm_Prototype tcp_outgoing_address 192.168.0.254 rvm_WebService tcp_outgoing_address 192.168.0.254 rvm_License # Put load balancing tags after setting the tcp_outgoing_address for reverse proxy tags acl fiftyPercent random 0.5 tcp_outgoing_address <<wan1-ip-here>> fiftyPercent tcp_outgoing_address <<wan2-ip-here>></wan2-ip-here></wan1-ip-here> The result is that for the reverse-proxy traffic goes to the specified LAN side IP , and then the remainder of all other traffic is load-balanced via the random ACL on the WAN IPs. Hope that helps anyone else who might run into a similar issue.
  • Shellcmd suggestion

    3
    0 Votes
    3 Posts
    973 Views
    M
    +1.
  • Are there any conflicts with running Squid + Squidguard + snort?

    4
    0 Votes
    4 Posts
    2k Views
    J
    Running one firewall with pfSense 2.1.5 (AMD64) + Squid (2.7.9) + SquidGuard (1.5_1.1 beta) + Snort + pfBlocker and have no issues. Proxy is NOT transparent. Running another firewall with pfSense 2.1.5 (i386) + Squid3-dev (3.3.10 pkg 2.2.8) + SquidGuard (1.4_4 pkg v.1.9.5) + Snort + pfBlocker and have no issues. Proxy is NOT transparent. ClamAV is not enabled as I get ICAP timeouts. Both are stable and responsive. Hth.
  • UPS Support - pfSense and a FreeNAS Server?

    7
    0 Votes
    7 Posts
    6k Views
    V
    Cool! Glad to hear! Those instuctions were directly from my own setup, so if you need any further assistance I'll help where I can.
  • Set up Squid proxy for different network

    4
    0 Votes
    4 Posts
    993 Views
    M
    Use the setting upstream proxy.
  • Freeradius not starting at boot when use mysql as database

    2
    0 Votes
    2 Posts
    1k Views
    N
    Can any one help me?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.