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

    Firwall blocking rsync by default, but allow rule in place

    Scheduled Pinned Locked Moved Firewalling
    10 Posts 3 Posters 875 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.
    • T
      toddehb
      last edited by toddehb

      Hi,

      cant figure out why pfsense is blocking port 873 TCP via default blocking rule, allthough I explicitly placed a rule on top spot to allow that traffic.

      05b2feff-11f7-4f6d-a1b9-5076b0f41788-image.png

      This what log is showing

      370edd25-73ef-4df5-bee2-cb01e4634a8b-image.png

      I have absolutely no clue

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @toddehb
        last edited by

        @toddehb is 192.168.1.4 part of the serverlan net?

        Did you actually load your rules, its possible they didn't actually get applied. You can look in the full ruleset to see.

        https://docs.netgate.com/pfsense/en/latest/firewall/pf-ruleset.html

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @johnpoz
          last edited by

          +1 to John. Just adding
          https://docs.netgate.com/pfsense/en/latest/troubleshooting/firewall.html#new-rules-are-not-applied
          and that there was a recent post with a similar complaint and it turned out an error was causing the rules to not load.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote ๐Ÿ‘ helpful posts!

          T 1 Reply Last reply Reply Quote 0
          • T
            toddehb @SteveITS
            last edited by

            @steveits

            yeah, rules where not loaded. Found an issue on the box reporting me this:

            18:39:07 There were error(s) loading the rules: /tmp/rules.debug:30: cannot define table pfB_Asia_v4: Cannot allocate memory - The line in question reads [30]: table <pfB_Asia_v4> persist file "/var/db/aliastables/pfB_Asia_v4.txt"
            

            Disabled pfblocker geo ip feature for now till I find out, what that means. Mybe my box is to limited.

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @toddehb
              last edited by johnpoz

              @toddehb you just need to update the table size.

              avanced.jpg

              I think it defaults to something pretty low when using large lists from pfblocker.. Just up, as you can see have mine set at 1.6mil

              system, advanced, firewall & nat

              once you change it, the note below will say that is default for the system ;)

              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

              T S 2 Replies Last reply Reply Quote 0
              • T
                toddehb @johnpoz
                last edited by

                @johnpoz said in Firwall blocking rsync by default, but allow rule in place:

                @toddehb you just need to update the table size.

                avanced.jpg

                I think it defaults to something pretty low when using large lists from pfblocker.. Just up, as you can see have mine set at 1.6mil

                system, advanced, firewall & nat

                once you change it, the note below will say that is default for the system ;)

                Thanks. Increased to 2M. Should by sufficient, hopefully. Have 8GB RAM so plenty of space left to increase more if needed ;-)

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @johnpoz
                  last edited by

                  Long ago I saw the package maintainer suggest a minimum of 2 million but it depends on usage. Some block lists are large.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote ๐Ÿ‘ helpful posts!

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    toddehb @SteveITS
                    last edited by

                    @steveits said in Firwall blocking rsync by default, but allow rule in place:

                    Long ago I saw the package maintainer suggest a minimum of 2 million but it depends on usage. Some block lists are large.

                    Might be a good default expecially to decrease amount of questions in this forum ;-)

                    What is confusing me a little bit is the fact that when looking under diagnostic/states. I don't see that many state entries, even with pfblocker enabled. I that what is beeing showed just some kind of summary?

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @toddehb
                      last edited by

                      @toddehb its not states, its table entries, you know the thing that stores all the IPs that pfblocker is blocking, etc.

                      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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        toddehb @johnpoz
                        last edited by

                        @johnpoz said in Firwall blocking rsync by default, but allow rule in place:

                        @toddehb its not states, its table entries, you know the thing that stores all the IPs that pfblocker is blocking, etc.

                        yup, just noticed ๐Ÿ˜ myself

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