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.
    • GertjanG Offline
      Gertjan @stiga
      last edited by

      That's the question ^^

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

      destination: outside:443

      Who is this destination ?? It's a public IP, why hiding it ?
      Port 443 means "a https web page request".
      But knowing the IP gives info about where / who the request came from (the process).

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

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

        @rcoleman-netgate i need to try figure out what this rule looks like.. i dont think i have deleted any of this. But I could have made a mistake šŸ˜‰

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

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

          But I could have made a mistake

          That's why people post their WAN, LAN and Floating rules on the forum.

          Example :

          ed0fc473-3cf5-44ec-a749-d31210331d0d-image.png

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

          i need to try figure out what this rule looks like

          Ok, you've asked for it. Here you go :

          605541ca-990d-42d9-8907-435878a87b1a-image.png

          You will see all the rules, also rule number 1000000104.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

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

            @gertjan
            The public ip are like this:
            2022-03-28_191740.png

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

              @stiga those are all out of state outbound.. If your state table flushed then you could see those..

              That 40.90.x.x is MS owned IP

              173.222 is Akamai International, that 20.42 is MS as well.

              I can not think of any reason why pfsense would make connections to those networks. Are you running proxy? Are you loading ip lists from pfblocker or something.

              There should be no reason out of the box pfsense itself would connect to those network.. It checks for updates, and packages - those wuld not be hosted by those IPs AFAIK.

              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
                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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.