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

    Default deny rule IPv4 (1000000104) - from Firewall to Internet

    Scheduled Pinned Locked Moved Firewalling
    30 Posts 5 Posters 6.3k Views 4 Watching
    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.
    • bingo600B Offline
      bingo600 @johnpoz
      last edited by bingo600

      @johnpoz
      Seems to me they are "origining on em1" wouldn't that possible be "Lan" , and that it could be M$ clients checking for updates or just babbling "home".

      I see a burst of that stuff (PA/FA) , whenever i "open my linux laptop" from sleep, and it tries to resume whatever it did 1h ago , when i closed the lid.

      /Bingo

      If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

      pfSense+ 23.05.1 (ZFS)

      QOTOM-Q355G4 Quad Lan.
      CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
      LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

        @bingo600 yeah but they are outbound, and he says its pfsense IP as source.. Which he is hiding - so assume its the wan public IP? Why would he hide a rfc1918 address.. And its outbound, with those public as destination, so how would that be lan?

        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 25.07.1 | Lab VMs 2.8, 25.07.1

        1 Reply Last reply Reply Quote 0
        • S Offline
          stiga
          last edited by

          @gertjan
          cat /tmp/rules.debug
          shows me a looooong list of rules and other stuff. I found this too:

          #---------------------------------------------------------------------------

          default deny rules

          #---------------------------------------------------------------------------
          block in log inet all tracker 1000000103 label "Default deny rule IPv4"
          block out log inet all tracker 1000000104 label "Default deny rule IPv4"

          @bingo600
          em1 is the outside interface. I have several network interfaces on the machine.
          I wish I could set the WAN as a alias - and point it to the outside interface been used. :)

          @johnpoz
          Aha!
          So i disabled all the services running.
          I enabled them and let them run for a couple of minutes...
          And as soon as I enabled ntopng - the 1000000104 firewall rule kicked in.

          ntopng - is the reason for these firewall log messages.

          Should they be allowed for the ntopng to function properly?

          johnpozJ bingo600B 2 Replies Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @stiga
            last edited by

            @stiga said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

            ntopng - is the reason for these firewall log messages.

            But by default all traffic from firewall is allowed..

            cat /tmp/rules.debug

            pass out  inet all keep state allow-opts ridentifier 1000012115 label "let out anything IPv4 from firewall host itself"
            pass out  inet6 all keep state allow-opts ridentifier 1000012116 label "let out anything IPv6 from firewall host itself"
            

            So to be honest I don't see how those would be blocked, unless the state was killed.

            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 25.07.1 | Lab VMs 2.8, 25.07.1

            bingo600B 1 Reply Last reply Reply Quote 0
            • bingo600B Offline
              bingo600 @johnpoz
              last edited by bingo600

              @johnpoz

              I have an Android TV Box , used w. a 23" touchscreen (Giant wall mounted tablet) , for the wifes recipe looking etc.

              f78c420c-45bd-40ac-8781-7ff878eca03d-image.png

              It often gives me bursts of the above.

              The Box is calling back home to G , and then shuts up long enough for the state to time out. Then it tries to resume the same connection , and we have the fwall yelling ....

              Same goes for my lappy , when i open the lid ...
              States are timed out , but the lappy doesn't know, and firefox etc just tries to continue where it left.

              Btw ... How do you show those interface direction triangles ??

              If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                @bingo600 said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                How do you show those interface direction triangles ??

                https://docs.netgate.com/pfsense/en/latest/monitoring/logs/firewall.html

                log.jpg

                They will be shown any time something is blocked in outbound direction.

                edit: Curious what version of pfsense that is - since current seems to show it like this

                out.jpg

                edit: odd that its saying em1 vs wan as well?

                Your block is normally what you would see when traffic initiated on the lan side of pfsense, since it would be blocked as the traffic enters pfsense.

                I have a specific outbound rule to block outbound of my wan to rfc1918.. Being a good netizen..

                rule.jpg

                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 25.07.1 | Lab VMs 2.8, 25.07.1

                bingo600B S 3 Replies Last reply Reply Quote 1
                • bingo600B Offline
                  bingo600 @johnpoz
                  last edited by

                  @johnpoz
                  Ahh ... Now i see šŸ‘
                  Outbound block would be either a floating or a purged state.

                  Your RFC1918 has to be a floating, in order to block outbound .. correct ?

                  /Bingo

                  If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                  pfSense+ 23.05.1 (ZFS)

                  QOTOM-Q355G4 Quad Lan.
                  CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                  LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                    @bingo600 yeah see my edit, added my rule for clarity. Then forced the log by generating some traffic to some rfc1918 that is not local.

                    what is odd, is the let anything out from the firewall rule should allow the traffic, unless there was no state - maybe the traffic syn went out a different interface - odd why its showing em1 vs wan for example.

                    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 25.07.1 | Lab VMs 2.8, 25.07.1

                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      stiga @johnpoz
                      last edited by

                      @johnpoz

                      Version 2.5.2-RELEASE showing this direction triangle.
                      (I just haven't upgraded yet.. due to uptime ;))

                      1 Reply Last reply Reply Quote 0
                      • bingo600B Offline
                        bingo600 @stiga
                        last edited by bingo600

                        @johnpoz
                        @stiga said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                        em1 is the outside interface. I have several network interfaces on the machine.
                        I wish I could set the WAN as a alias - and point it to the outside interface been used. :)

                        I think OP might have multiple WAN IF's

                        So maybe the Syn went astray ...

                        But i fail to see NTOPNG causing that traffic ...
                        Maybe the Akamai (update check) .. But the M$ traffic ???
                        M$ = Github ... Hmmm .... Would they have relocated GH to their ip's ?

                        NTOPNG might put the IF's in promiscius , but it shouldn't cause any influence on states or data

                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                          @bingo600 said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                          So maybe the Syn went astray ...

                          That would explain the block, but would bring about the ? of why? If state was on interface X, and then traffic tried to go out Y (where there was no state) that would kick off the default deny.

                          Why would the syn go out X, but at some other point would rest of the traffic try to go out Y?

                          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 25.07.1 | Lab VMs 2.8, 25.07.1

                          bingo600B 1 Reply Last reply Reply Quote 0
                          • bingo600B Offline
                            bingo600 @johnpoz
                            last edited by

                            @johnpoz said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                            @bingo600 said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                            So maybe the Syn went astray ...

                            Why would the syn go out X, but at some other point would rest of the traffic try to go out Y?

                            You're right , and since OP talks about switching , it seems that it is a manual task , to change WAN IF's.

                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              stiga @bingo600
                              last edited by

                              I have several interfaces, but they are not in use..
                              But I only use one interface for "WAN" - I use the em1.

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                stiga @stiga
                                last edited by stiga

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  stiga @johnpoz
                                  last edited by

                                  @johnpoz
                                  how is rfc1918 defined?

                                  These are mine floating rules.. (for now.. 😊 )

                                  2022-03-28_224554.png

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

                                    @stiga said in Default deny rule IPv4 (1000000104) - from Firewall to Internet:

                                    how is rfc1918 defined?

                                    What do you mean?

                                    https://datatracker.ietf.org/doc/html/rfc1918

                                    I just created an alias with the rfc1918 space in it.

                                    I still do not see how that is happening to be honest.. There should be no reason for those rules, because traffic shouldn't be leaving from pfsense out some different interface it didn't create the state via..

                                    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 25.07.1 | Lab VMs 2.8, 25.07.1

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      stiga @johnpoz
                                      last edited by

                                      @johnpoz
                                      I disabled all the interfaces that are not in use.
                                      But still I keep getting these messages;

                                      2022-03-29_095614.png

                                      So only thing is that these stops, when I disable/stopp using ntopng.
                                      (and I have reinstalled ntopng and upgraded pfsense 2.6)

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

                                        @stiga what is that source IP? Is that your public IP? For this interface?

                                        Are you using any vlans on your em1 interface?

                                        What interface do you have ntop listening on? It shouldn't be even really be on your wan interface - only your lan side.. This is where it will see your devices and what they are talking too...

                                        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 25.07.1 | Lab VMs 2.8, 25.07.1

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          stiga @johnpoz
                                          last edited by

                                          @johnpoz

                                          All vlans are on: igb1 (lan). No vlans connected to em1.

                                          ntopng is set to listen to only the lan interface.

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

                                            @stiga Well I have enabled ntopng 0.8.13_10 on my 22.01 pfsense. Been running for like 15 minutes, and not seeing any such blocks.

                                            I even turned logging of default blocks again. I can not seem to duplicate this at all.

                                            Out of curiosity, do you have telemetry enabled? That might explain why its trying to talk to MS and Akami IPs..

                                            I could turn that on and see what happens in like 10-15 minutes..

                                            telemetry.jpg

                                            Ok, I have telemetry enabled now, and even got my geoip setup and working.. Will let it run for awhile.. But so far no such blocks, even though now that have default logging back on seeing some other stuff that I didn't use to see ;)

                                            Like my stupid roku tv trying to reuse sessions, etc.

                                            tv.jpg

                                            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 25.07.1 | Lab VMs 2.8, 25.07.1

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