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

PfBlocker

Scheduled Pinned Locked Moved pfSense Packages
896 Posts 143 Posters 1.3m 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.
  • ?
    Guest
    last edited by Nov 9, 2011, 5:40 AM

    Yeah, they are are the same subnet. The pfsense box hands out dhcp to them. The outbound rule I created comes before the default LAN rule LAN NET. Also, the ntp server in pfsense provides service to the wireless ap.

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Nov 9, 2011, 5:49 AM

      @WarMachine357:

      Yeah, they are are the same subnet. The pfsense box hands out dhcp to them. The outbound rule I created comes before the default LAN rule LAN NET. Also, the ntp server in pfsense provides service to the wireless ap.

      If wired and wireless machines are on the same subnet and using the same dhcp, I have no idea how pfsense or pfblocker could block one and do not block other. It's weird to me.

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by Nov 9, 2011, 5:52 AM

        I have found by moving the rule after the allow rules the wireless clients work. But, that doesn't seem right does it?

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by Nov 9, 2011, 5:57 AM

          I agree that it doesn't make sense. What happens to one should happen to the other. But, did you see what I said about moving the rule to the bottom?

          1 Reply Last reply Reply Quote 0
          • M
            marcelloc
            last edited by Nov 9, 2011, 5:59 AM

            @WarMachine357:

            I have found by moving the rule after the allow rules the wireless clients work. But, that doesn't seem right does it?

            No it's not.

            An outbound rule blocks access from any to pfblockerAlias.

            If you have one rule that permits traffic, the deny rule will have no effect.

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Nov 9, 2011, 6:20 AM Nov 9, 2011, 6:17 AM

              Maybe level3 list is blocking all your network and the pfsense keep-state for your machine gives you a false diagnostics.

              Remove level3 list and see if it works.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • M
                marcelloc
                last edited by Nov 11, 2011, 5:29 AM Nov 11, 2011, 4:28 AM

                HI everybody,

                Version 0.1.4.5 is out with all planned features coded.  8)

                main changes:

                • Dashboard widget includes package hit on applied aliases (10 second update)

                • Change in rule description to allow widget package count

                • Update frequency implemented

                Important note for custom rules

                keep aliasname in the beggining of rule description and do not end description with 'rule'.

                Once again, thank you for testing this amazing new tool for pfsense. ;)

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

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • R
                  RonpfS
                  last edited by Nov 11, 2011, 5:12 AM

                  Just reinstalled.

                  Strange things happens when you switch to Alias
                  Description: pfblockerWAN Inbound rule will disappear
                  Description: pfblockerWAN Inbound   will persist

                  Still showing 0 in the widget after 10 minutes

                  2.4.5-RELEASE-p1 (amd64)
                  Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                  Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcelloc
                    last edited by Nov 11, 2011, 5:43 AM Nov 11, 2011, 5:35 AM

                    I've changed important note for better understanding.

                    Aliasname something rule will be removed by package.

                    To test rule packet count, block your own country While you are locally on your office/home.

                    DO NOT TRY THIS REMOTELY.

                    A less risky test is:

                    • define your own country action as alias only

                    • create a rule that deny outbound icmp access on lan.

                    • include description as described

                    • apply rules

                    • Open Dashboard

                    • try to Ping someone on your country.

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • R
                      RonpfS
                      last edited by Nov 11, 2011, 6:01 AM

                      Still showing 0

                      I picked one host in the Diagnostics: Tables pfblocker table.
                      I can ping from LAN or pfsense no problem
                      Nothing is showed as blocked in the firewall logs !??

                      rules are on WAN only

                      Reject and log * 	* 	* 	pfBlockerWAN 	* 	* 	none 	  	pfBlockerWAN Outbound  
                      Block and log * 	pfBlockerWAN 	* 	* 	* 	* 	none 	  	pfBlockerWAN Inbound  
                      
                      

                      2.4.5-RELEASE-p1 (amd64)
                      Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                      Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                      1 Reply Last reply Reply Quote 0
                      • M
                        marcelloc
                        last edited by Nov 11, 2011, 6:04 AM

                        If you are testing from lan, the blocking rule must be on lan.

                        It's a statefull firewall. All rules are set where communication begins.

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

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • R
                          RonpfS
                          last edited by Nov 11, 2011, 6:17 AM

                          So I should have

                          on the LAN 
                          Reject and log * * * pfBlockerWAN * * none   pfBlockerWAN LAN - Outbound 
                          on the
                          WAN Block and log * pfBlockerWAN * * * * none   pfBlockerWAN WAN - Inbound

                          I see the widget Packet number changes ;o)

                          How do you block the pfsense box from accessing these aliases?

                          2.4.5-RELEASE-p1 (amd64)
                          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                          1 Reply Last reply Reply Quote 0
                          • M
                            marcelloc
                            last edited by Nov 11, 2011, 6:22 AM

                            On floating rules, but it may not show in widget.

                            Floating rules are not impelmented in this version but you can apply pfBlocker alias on it.

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

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • R
                              RonpfS
                              last edited by Nov 11, 2011, 6:53 AM Nov 11, 2011, 6:36 AM

                              I just created a rule on the Floating tab…. and the Packets blocked are updated in the widget  ;D

                              However the rule

                              Reject and log *    *    *    pfBlockerWAN    *    *    none        pfBlockerWAN Floating Outbound

                              disappeared in the Floating tab after a save in pfBlocker …..!!!

                              same thing with

                              pfBlockerWAN Floating
                              pf BlockerWAN Whatever

                              bummer  :(

                              2.4.5-RELEASE-p1 (amd64)
                              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                              1 Reply Last reply Reply Quote 0
                              • M
                                marcelloc
                                last edited by Nov 11, 2011, 11:09 AM

                                As I told you, floating rules are not implemented but i'll try the same test here and see what happens.

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

                                Help a community developer! ;D

                                1 Reply Last reply Reply Quote 0
                                • G
                                  ghm
                                  last edited by Nov 11, 2011, 2:07 PM

                                  Hi,

                                  ok, reinstalled on nanobsd and boot is much better. Got a new problem though: While the genaral and top spammers pages look good, I get the below instead of country lists for the others. Example below. Country.txt seems to load at install though, have also reinstalled package and rebooted - no change. Hence the drop down lists are missing.

                                  Thanks!

                                  ![2011-11-11 15:00:45.png](/public/imported_attachments/1/2011-11-11 15:00:45.png)
                                  ![2011-11-11 15:00:45.png_thumb](/public/imported_attachments/1/2011-11-11 15:00:45.png_thumb)

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    marcelloc
                                    last edited by Nov 11, 2011, 3:24 PM Nov 11, 2011, 3:10 PM

                                    The countryipblocks.net removed the lists  :-[
                                    I will point it to files.pfsense.

                                    [b]EDIT

                                    Just did it.

                                    wait 15 minutes and reinstall package.

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

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by Nov 11, 2011, 3:42 PM

                                      Probably should not have users directly pull those lists anyhow, but keep them local and update them periodically. I have a feeling that too many people accessing their systems automatically may have been part of their decision to shut the service down.

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        marcelloc
                                        last edited by Nov 11, 2011, 3:49 PM

                                        Yeah, I'm doing it now.

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

                                        Help a community developer! ;D

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Nov 11, 2011, 6:28 PM Nov 11, 2011, 6:17 PM

                                          Just released version 0.1.4.6 with fixes in float rules check and about section in gui.

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

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          106 out of 896
                                          • First post
                                            106/896
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received