Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Crowdsec finally comming to pfSense

    Scheduled Pinned Locked Moved pfSense Packages
    68 Posts 19 Posters 17.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • w0wW
      w0w
      last edited by

      The fact that CrowdSec is still not available in the pfSense repository says a lot. It probably suggests that there are some problems with either maintaining its code or its implementation.

      1 Reply Last reply Reply Quote 0
      • M
        mmetc @wgstarks
        last edited by

        @wgstarks said in Crowdsec finally comming to pfSense:

        [24.03-RELEASE][root@heimdall.dahoney.me]/root: pkg add -f https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/crowdsec-firewall-bouncer-0.0.28_3.pkg
        Fetching crowdsec-firewall-bouncer-0.0.28_3.pkg: 100%    4 MiB   3.8MB/s    00:01    
        Installing crowdsec-firewall-bouncer-0.0.28_3...
        pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:15:amd64
        Extracting crowdsec-firewall-bouncer-0.0.28_3: 100%
        
        

        If you click "Assets" on the release page you will find the archive for your version

        https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/freebsd-15-amd64.tar

        Download, untar and then pkg install in the right order.

        wgstarksW 2 Replies Last reply Reply Quote 0
        • B
          buixor
          last edited by

          Our PR has been sitting for the last 9 months or so without feedback: https://github.com/pfsense/FreeBSD-ports/pull/1311

          If anybody from the project has a chance to provide us feedback as to what we need to do or improve to see it being merged, don't hesitate to reach out!

          1 Reply Last reply Reply Quote 1
          • wgstarksW
            wgstarks @mmetc
            last edited by

            @mmetc
            Do I need to uninstall the currently installed version first?

            Box: SG-4200

            1 Reply Last reply Reply Quote 0
            • wgstarksW
              wgstarks @mmetc
              last edited by

              @mmetc said in Crowdsec finally comming to pfSense:

              @wgstarks said in Crowdsec finally comming to pfSense:

              [24.03-RELEASE][root@heimdall.dahoney.me]/root: pkg add -f https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/crowdsec-firewall-bouncer-0.0.28_3.pkg
              Fetching crowdsec-firewall-bouncer-0.0.28_3.pkg: 100%    4 MiB   3.8MB/s    00:01    
              Installing crowdsec-firewall-bouncer-0.0.28_3...
              pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:15:amd64
              Extracting crowdsec-firewall-bouncer-0.0.28_3: 100%
              
              

              If you click "Assets" on the release page you will find the archive for your version

              https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/freebsd-15-amd64.tar

              Download, untar and then pkg install in the right order.

              Also not sure what the commands are to download, untar and install since I’m pretty sure the links will change for the untarred files.

              Box: SG-4200

              wgstarksW 1 Reply Last reply Reply Quote 0
              • wgstarksW
                wgstarks @wgstarks
                last edited by wgstarks

                @wgstarks said in Crowdsec finally comming to pfSense:

                @mmetc said in Crowdsec finally comming to pfSense:

                @wgstarks said in Crowdsec finally comming to pfSense:

                [24.03-RELEASE][root@heimdall.dahoney.me]/root: pkg add -f https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/crowdsec-firewall-bouncer-0.0.28_3.pkg
                Fetching crowdsec-firewall-bouncer-0.0.28_3.pkg: 100%    4 MiB   3.8MB/s    00:01    
                Installing crowdsec-firewall-bouncer-0.0.28_3...
                pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:15:amd64
                Extracting crowdsec-firewall-bouncer-0.0.28_3: 100%
                
                

                If you click "Assets" on the release page you will find the archive for your version

                https://github.com/crowdsecurity/pfSense-pkg-crowdsec/releases/download/v0.1.3-1.6.2/freebsd-15-amd64.tar

                Download, untar and then pkg install in the right order.

                Also not sure what the commands are to download, untar and install since I’m pretty sure the links will change for the untarred files.

                Tracked down the answers for myself.
                To download-

                fetch <link to tarball>
                

                To untar-

                tar xvf <name of file>
                

                Install commands-

                # setenv IGNORE_OSVERSION yes
                # pkg add -f /root/abseil-20230125.3.pkg
                # pkg add -f /root/re2-20240501.pkg
                # pkg add -f /root/crowdsec-firewall-bouncer-0.0.28_3.pkg
                # pkg add -f /root/crowdsec-1.6.2.pkg
                # pkg add -f /root/pfSense-pkg-crowdsec-0.1.3.pkg
                

                Install whitelist-

                sudo cscli parsers install crowdsecurity/whitelists
                

                I deleted the originally installed pkg so re-registered-

                sudo cscli capi register
                

                And re-enrolled-

                sudo cscli console enroll -e context clzeha7k80004l6087uikulpm
                

                And then reloaded the pkg-

                sudo service crowdsec onereload
                

                Still no crowdsec package in package manager though. Maybe that will get fixed later???

                Box: SG-4200

                1 Reply Last reply Reply Quote 0
                • provelsP
                  provels
                  last edited by

                  Have there been any more thoughts about including Crowdsec as an official pfSsense package?

                  Peder

                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                  Sergei_ShablovskyS 1 Reply Last reply Reply Quote 1
                  • Sergei_ShablovskyS
                    Sergei_Shablovsky @provels
                    last edited by Sergei_Shablovsky

                    @provels said in Crowdsec finally comming to pfSense:

                    Have there been any more thoughts about including Crowdsec as an official pfSsense package?

                    Upvoting this!

                    —
                    CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                    Help Ukraine to resist, save civilians people’s lives !
                    (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.