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

    Ipguard package

    Scheduled Pinned Locked Moved pfSense Packages
    57 Posts 20 Posters 37.8k 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.
    • marcellocM
      marcelloc
      last edited by

      try to reduce your network range on your allow list and move pfsense ip to 254 for example.

      00:e0:52:c2:e0:c4 192.168.5.254 pfsense LAN interface
      .
      .
      .
      00:00:00:00:00:00 192.168.5.0/25 lan net

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • R
        rjcrowder
        last edited by

        OK… seems like I tried that, but I will play around with it some more... Before I do though, I just want to confirm. What I'm trying to do is what ipguard was intended to accomplish? i.e. make sure that ip/mac combinations (or ranges) are valid and keep invalid combos from accessing network resources?

        Also (again I'll play more to confirm) I turned on the verbose logging and from what I could tell, it appeared that ipguard was catching the invalid mac/ip combination and returning the bogus mac address on the ARP request/reply. However, everything still worked for the IP address involved. It shouldn't... correct?

        Thanks again...

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          On my tests, it was easier to lost access to pfsense then full access.

          Maybe your 00:00:00:00:00:00 192.168.5.0/24 ipguard lan net rule permits all lan access.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • M
            mianosm
            last edited by

            This package seems to not work correctly with: 2.1-BETA0 (amd64).

            After installing the package there is no addition of Ipguard to the services drop down menu.

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              It's on firewall menu  ;)

              I'm not sure if I tested it's dirs and pbi install on 2.1

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                I have ipguard-dev installed on 2.1-BETA0. It puts a link to its exe into /usr/local/sbin, so the package startup code works fine as is.

                [2.1-BETA0][root@pfsense.localdomain]/(8): ls -l /usr/local/sbin/ipguard
                lrwxr-xr-x  1 root  wheel  35 Oct  8 19:06 /usr/local/sbin/ipguard -> /usr/pbi/ipguard-i386/.sbin/ipguard
                
                

                The 2.1, FreeBSD 8.3, pbi-based package version is working.

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  I'll include pfsense 2.1 folder check as soon as possible…

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • P
                    phil.davis
                    last edited by

                    @marcelloc - I don't think any folder/version checks are needed. The PBI installation puts the link to the exe in /usr/local/sbin already - so running /usr/local/sbin/ipguard works on 2.1. The conf file goes in /usr/local/etc fine. I think it all works out of the same folders in 2.0.1 and 2.1.

                    As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                    If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      @phil.davis:

                      I think it all works out of the same folders in 2.0.1 and 2.1.

                      good! Thank's for the info. :)

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • N
                        nujiel
                        last edited by

                        i installed ipguard on pfsense 2.01 32bit, when i click on the start button in the Services menu it just doesnt start. There is a message saying it started but in the menu it keeps being stopped. Is there a way to start it manually (command line) or see the logs for when a service start?

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          Check your config first and save settings. Then go to console and check if its running with "PS ax "

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • N
                            nujiel
                            last edited by

                            nope not running

                            EDIT:I accessed pfsense in ssh and when I try to launch ip guard it says this:

                            /libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "ipguard"

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              what version of pfsense are you running?

                              Treinamentos de Elite: http://sys-squad.com

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • N
                                nujiel
                                last edited by

                                2.0.1-RELEASE (i386)
                                i fixed this issue by installing snort, which installed the missing dependencies but now i've got another problem
                                in /var/log/ipguard_fxp0.log i get:
                                error pcap_open_live(): fxp0: No such device exists (BIOCSETIF failed: Device not configured)

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  I've tested this package without snort without issues, I'll try it again on virtual lab.

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    islandwifibill
                                    last edited by

                                    Hey there guys,

                                    Here's the problem I'm running into and I'm hoping ipguard can turn the trick….

                                    I have a wifi client who for whatever reason is always trying to set a static IP that conflicts with an ip address in my static range, which causes temporary problems from time to time.

                                    I'd like to make sure that these addresses are not in conflict in situations like this.  Since my static devices are all known and well documented, would the correct approach be to enter them all in ipguard, thereby (hopefully, I think?) ensuring that no other mac address can inadvertently obtain access to my LAN (wifi) using a reserved, static ip?

                                    ???

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      Sure, ipguard can help.

                                      Did you tried static mapping on pfSense dhcp+ Deny unknown clients?

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        islandwifibill
                                        last edited by

                                        @marcelloc:

                                        Surge, ipguard can help.

                                        Did you tried static mapping on pfSense dhcp+ Deny unknown clients?

                                        No, and here's why:  I run a WISP and I don't want to deny unknown clients.  They can sign up online thru the captive portal and that's $$  ;D

                                        However, I did try mapping it to an IP address, but pfSense tells me that I can't do that inside of the dynamic IP range…..  which seems silly, actually.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cleancodex
                                          last edited by

                                          Dear marcelloc,

                                          i did download the ipguard last week and installed it on my pfsense 2.0.1 (amd64)
                                          however, the services didnt run even i tried to start it manually
                                          then a few days later i remove it back because i thought there was an error while it was installed
                                          somehow, i cant find it again from the "packages" list, did you remove it?
                                          how can i use this good features? im ran a wisp as well and i hope that i dont need to deny unknown clients  ;)
                                          waiting for your kind reply

                                          thanks
                                          cleancodex

                                          1 Reply Last reply Reply Quote 0
                                          • marcellocM
                                            marcelloc
                                            last edited by

                                            cleancodex,

                                            check on installed packages tab, I did not removed the service.

                                            There is a depedencie that is not included on this package yet.

                                            you need to install libcap first. You can do this using pkg_add from freebsd repo or installing snort package before ipguard.

                                            I'll try to fix it as soon as possible.

                                            Treinamentos de Elite: http://sys-squad.com

                                            Help a community developer! ;D

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