• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 907 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 Sep 22, 2022, 5:03 PM Sep 22, 2022, 5:00 PM

    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

    J 1 Reply Last reply Sep 22, 2022, 5:02 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @toddehb
      last edited by Sep 22, 2022, 5:02 PM

      @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.8, 24.11

      S 1 Reply Last reply Sep 22, 2022, 5:11 PM Reply Quote 0
      • S
        SteveITS Galactic Empire @johnpoz
        last edited by Sep 22, 2022, 5:11 PM

        +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 Sep 22, 2022, 5:14 PM Reply Quote 0
        • T
          toddehb @SteveITS
          last edited by Sep 22, 2022, 5:14 PM

          @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.

          J 1 Reply Last reply Sep 22, 2022, 5:19 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @toddehb
            last edited by johnpoz Sep 22, 2022, 5:20 PM Sep 22, 2022, 5:19 PM

            @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.8, 24.11

            T S 2 Replies Last reply Sep 22, 2022, 5:26 PM Reply Quote 0
            • T
              toddehb @johnpoz
              last edited by Sep 22, 2022, 5:26 PM

              @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 Sep 22, 2022, 5:27 PM

                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 Sep 22, 2022, 5:34 PM Reply Quote 0
                • T
                  toddehb @SteveITS
                  last edited by Sep 22, 2022, 5:34 PM

                  @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?

                  J 1 Reply Last reply Sep 22, 2022, 5:35 PM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @toddehb
                    last edited by Sep 22, 2022, 5:35 PM

                    @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.8, 24.11

                    T 1 Reply Last reply Sep 22, 2022, 5:38 PM Reply Quote 0
                    • T
                      toddehb @johnpoz
                      last edited by Sep 22, 2022, 5:38 PM

                      @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
                      10 out of 10
                      • First post
                        10/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received