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

pfSense pkg from FreeBSD ports or repo

General pfSense Questions
5
16
1.5k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Sep 27, 2022, 1:08 PM

    That.

    But, yes, it's possible using 'pkg add'.

    Steve

    1 Reply Last reply Reply Quote 0
    • ?
      A Former User
      last edited by Sep 27, 2022, 1:12 PM

      Ok thank you both for the quick input and the link to the
      right place.

      J 1 Reply Last reply Sep 27, 2022, 2:24 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator @A Former User
        last edited by Sep 27, 2022, 2:24 PM

        @dobby_ what package are you looking to add, I would stress again @Gertjan warning of not doing it. I might be fine if something standalone little tool, but any sort of complex package with dependencies and the like could be problematic.

        What package(s) are you looking to add, in the past they have been nice enough to add stuff to the pfsense repo, I believe nano got added to the repo like that.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        G 1 Reply Last reply Sep 27, 2022, 3:12 PM Reply Quote 0
        • G
          Gertjan @johnpoz
          last edited by Sep 27, 2022, 3:12 PM

          @johnpoz said in pfSense pkg from FreeBSD ports or repo:

          I believe nano got added to the repo like that.

          That's the one I installed using the "do not do that" procedure 😊

          Small packages that do not have dependencies - or dependencies that do not mess up the system, are probably fine.

          There won't be any GUI support for native FreeBSD package you install. You have to work with it from the command line, set up parameters, config files, etc, manually.

          @Dobby_ : please, don't take me wrong here, but the simple fact you ask the question tells me you shouldn't do it.
          But, for the experimenting sake : why not.
          Get yourself a copy of the config.xml file.
          Get yourself a USB stcik with the version of pfSense you use right now.
          You should always have these two at any time anyway, as they permit you to get back online within 15 minutes after whatever disk crash or system fault.

          Now you're ready !
          Install wherever 'package' you want.
          If you notice that pfSense doesn't behaves as before : re install from scratch/USB, import the config and your back at square one.

          And one last thing : pfSense is a firewall. What the impact will be on your security depends on what you do / what you installed, how you've set it up. pfSense is already to gadget rich ;)

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          J 1 Reply Last reply Sep 27, 2022, 3:23 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @Gertjan
            last edited by Sep 27, 2022, 3:23 PM

            @gertjan said in pfSense pkg from FreeBSD ports or repo:

            That's the one I installed using the "do not do that" procedure

            why its in the pfsense repo

            🔒 Log in to view

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            M G 2 Replies Last reply Sep 27, 2022, 3:36 PM Reply Quote 0
            • M
              mer @johnpoz
              last edited by Sep 27, 2022, 3:36 PM

              @johnpoz I read that as @Gertjan added nano before it became available in pfSense repo.
              I could be wrong, I'll accept "forty lashes" for being wrong :)

              J 1 Reply Last reply Sep 27, 2022, 3:45 PM Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @mer
                last edited by johnpoz Sep 27, 2022, 3:49 PM Sep 27, 2022, 3:45 PM

                @mer not sure when he added it, but its been part of the repo for multiple years that is for sure.. I sort of recall the thread where it was asked for, I think I might of even asked for it ;) Maybe not, but I know for sure nano has been part of the pfsense like way back in 2.2 versions.. If not before..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                M 1 Reply Last reply Sep 27, 2022, 4:05 PM Reply Quote 1
                • M
                  mer @johnpoz
                  last edited by Sep 27, 2022, 4:05 PM

                  @johnpoz Yep. I understand the temptation to cross repos, but have personally avoided doing it.

                  1 Reply Last reply Reply Quote 0
                  • G
                    Gertjan @johnpoz
                    last edited by Gertjan Sep 27, 2022, 5:22 PM Sep 27, 2022, 5:17 PM

                    @johnpoz said in pfSense pkg from FreeBSD ports or repo:

                    why its in the pfsense repo

                    My last and first pfSense install was during 1.0.x, waaaaaay back - like close to 10 years ?
                    edit : the packet manager was something else back then.
                    I've been upgrading the same system, the one I use @ work, since.
                    This system is now 'standby' with a 2.6.0 .....

                    Now I have my new 4100, received last June, as it came with 22.01 I pulled in Nano without the previous hassle.
                    I had to use "the trick" to pull in Munin-node, which I use because I "know it" and all my systems, mostly Debian, use also Munin.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 1
                    • ?
                      A Former User
                      last edited by A Former User Sep 28, 2022, 9:12 AM Sep 28, 2022, 8:37 AM

                      It is only a test system what is not setup in productive
                      environment. Only at home.

                      I was only thinking of installing two "packets" on pfSense
                      I would be interested in for "play" around with.

                      • With Kismet from SSH console scanning for rough WiFi hosts, APs or potential unwanted WiFi devices
                        Scan, find, put them on a "ban" or ignore list.
                        Kismet

                      • Public IPs on pfSense directly, private IPs on the servers, and then between the pfSense and the DMZ
                        lightsquid as a reverse proxy was in my thinking. So would be nice to set up once fail2ban on pfSense was the idea behind.
                        centralized_fail2ban

                      G 1 Reply Last reply Sep 28, 2022, 9:16 AM Reply Quote 0
                      • G
                        Gertjan @A Former User
                        last edited by Sep 28, 2022, 9:16 AM

                        @dobby_ said in pfSense pkg from FreeBSD ports or repo:

                        Kismet

                        Doesn't belong on a firewall. But that's just IMHO.
                        Btw ; scanning your own LAN devices ?

                        @dobby_ said in pfSense pkg from FreeBSD ports or repo:

                        fail2ban

                        Yeah, I under stand.
                        fail2ban will use the logs of your servers, and then centralize all BANs into the upstream firewall.

                        I'm using myself fail2ban a lot, and for years now.
                        But just on a dedicated host, no firewall, no nothing in front of it.
                        fail2ban will inject rules into the 'pf' firewall using tables or anchors, but 'pf' is under complete control of pfSense (hence the pf in pfsense). Tis will break at worst, gets very messy at best.
                        You'll have to redo a lot of pfSense's GUI and underlying glue-ware.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by Sep 28, 2022, 4:21 PM

                          Doesn't belong on a firewall. But that's just IMHO.

                          Only with a script it should scan from time to time
                          for rough WiFi APs put them on a ignore or own
                          made blacklist list not to serve them with WiFi,
                          a that`s it.

                          Btw ; scanning your own LAN devices ?

                          No, only scanning the near local area for other devices in AP mode and put them then on a ignore list.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Sep 28, 2022, 4:30 PM

                            That's really only any use if you have wifi hardware in the firewall. And we are all familiar with the issues there.

                            Unless you run kismet in server/drone config. But in that setup running the server part on some other host would probably be better. With the drone part running on an AP. Been many years since I did that....

                            ? 1 Reply Last reply Sep 28, 2022, 4:42 PM Reply Quote 0
                            • ?
                              A Former User @stephenw10
                              last edited by Sep 28, 2022, 4:42 PM

                              @stephenw10 said in pfSense pkg from FreeBSD ports or repo:

                              That's really only any use if you have wifi hardware in the firewall. And we are all familiar with the issues there.

                              Unless you run kismet in server/drone config. But in that setup running the server part on some other host would probably be better. With the drone part running on an AP. Been many years since I did that....

                              Ok thanks for clarifying this, I would set up it then better
                              on an small RAPI and combine there kismet and fail2ban
                              for rough hosts in AP mode.

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