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

    Is it possible for one to "slip through"?

    Scheduled Pinned Locked Moved General pfSense Questions
    36 Posts 6 Posters 3.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      From connecting to anything on your LAN?

      Yeah, we need to see the rule and where it's applied really. There are many ways to apply that incorrectly. 😉

      1 Reply Last reply Reply Quote 1
      • OBXJeepGuyO
        OBXJeepGuy
        last edited by

        I am guessing this is what you are looking for.

        Screenshot 2022-11-17 at 17-27-47 pfSense.Colossus - Firewall Rules Floating.png

        Screenshot 2022-11-17 at 17-32-42 pfSense.Colossus - Firewall pfBlockerNG IP.png

        stephenw10S 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator @OBXJeepGuy
          last edited by stephenw10

          Those all look like the included list names. Is your custom block list added to one of those?

          Or, what 'list action' do you have set on your custom list?

          OBXJeepGuyO 1 Reply Last reply Reply Quote 0
          • OBXJeepGuyO
            OBXJeepGuy @stephenw10
            last edited by

            @stephenw10 The custom block list is within pfB_PRI1_v4.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Ok, so that would block connections from that subnet inbound on WAN. And since it's a floating rule it would do so before and pass rules you might have on the WAN tab. You haven't explicitly confirmed it but I assume you have a port forward to the server on WAN with linked firewall rules there?

              OBXJeepGuyO 2 Replies Last reply Reply Quote 1
              • OBXJeepGuyO
                OBXJeepGuy @stephenw10
                last edited by

                @stephenw10 said in Is it possible for one to "slip through"?:

                Ok, so that would block connections from that subnet inbound on WAN. And since it's a floating rule it would do so before and pass rules you might have on the WAN tab. You haven't explicitly confirmed it but I assume you have a port forward to the server on WAN with linked firewall rules there?

                Yes, I do have a port forward going to the server. I should have included that. I’ll post an image as soon as I get back to a PC.

                1 Reply Last reply Reply Quote 0
                • OBXJeepGuyO
                  OBXJeepGuy
                  last edited by

                  Okay. There it is. Been quite busy at work.

                  IMG_2676.jpg

                  1 Reply Last reply Reply Quote 0
                  • OBXJeepGuyO
                    OBXJeepGuy @stephenw10
                    last edited by

                    @stephenw10 Now that I look at it, something seems off. I'm not quite sure.

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

                      @obxjeepguy yeah that is not a port forward, that is a allow rule outbound to some 192.168 address, why would you think you need to hide a rfc1918 address.

                      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

                      OBXJeepGuyO 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, very unlikely that rule would ever match anything. You can see no states have been opened by it. I would just disable that.

                        You can see the port forward in Firewall > NAT > Port Forwards.

                        The associated firewall rule will be on the WAN tab.

                        Steve

                        1 Reply Last reply Reply Quote 1
                        • OBXJeepGuyO
                          OBXJeepGuy @johnpoz
                          last edited by

                          @johnpoz said in Is it possible for one to "slip through"?:

                          @obxjeepguy yeah that is not a port forward, that is a allow rule outbound to some 192.168 address, why would you think you need to hide a rfc1918 address.

                          You are absolutely correct. And I have disabled it. That is left over from when I fist set everything up, and knew ZERO about pfSense. As for hiding an rfc1918 address, that would be for no apparent reason. Just like the folks who cover their license plates in photos of their cars.

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

                            @obxjeepguy said in Is it possible for one to "slip through"?:

                            Just like the folks who cover their license plates in photos of their cars.

                            No not the same - lic number is unique and could be looked up ;)

                            Rfc1918 space used by everyone.. It would be like telling you I live on the planet earth ;) could you find me with that info hehehe

                            My pc is 192.168.9.100, my gateway is 192.168.9.253 - does that give you any info at all that could be used to track me to where I am exactly, or even what ISP I use, etc.

                            edit: but knowing what address space is being used can be very helpful in troubleshooting so that easier to understand difference in vlans and why some rfc1918 IP can not talk to another one, etc. When they are obfuscated it can be more difficult understanding quickly what is going on.. While hiding your public IP space is very understandable - when you hide rfc1918 it can get confusing is all. Just something to consider in future posts is all.

                            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

                            OBXJeepGuyO 1 Reply Last reply Reply Quote 1
                            • OBXJeepGuyO
                              OBXJeepGuy @johnpoz
                              last edited by

                              @johnpoz said in Is it possible for one to "slip through"?:

                              @obxjeepguy said in Is it possible for one to "slip through"?:

                              Just like the folks who cover their license plates in photos of their cars.

                              No not the same - lic number is unique and could be looked up ;)

                              Rfc1918 space used by everyone.. It would be like telling you I live on the planet earth ;) could you find me with that info hehehe

                              My pc is 192.168.9.100, my gateway is 192.168.9.253 - does that give you any info at all that could be used to track me to where I am exactly, or even what ISP I use, etc.

                              All very true. I was always told to not even let any of those numbers out. Especially port numbers. I know the only way is if I knew your public IP address. So that being said, I will get on with port forwarding, and @stephenw10 will see there is a linked rule.

                              Screenshot 2022-11-19 at 08-29-35 pfSense.Colossus - Firewall NAT Port Forward.png

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

                                @obxjeepguy I not sure who told you to hide those or ports.. But they don't work in networking that is for sure.

                                Me knowing your forwarding to 80 or 443 provides me nothing if I don't know what your public wan IP is. Like saying hay your house number is 123.. What city, what street ;) if I do not know these things 123 is meaningless and provides nothing to track you. But it can be very helpful in spotting problems. Hey that should be 443, not 444 etc.

                                For example I forward externally port 23040 to my plex on 32400. Without even a clue to what my public IP is - how does that give away anything?

                                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

                                OBXJeepGuyO 2 Replies Last reply Reply Quote 1
                                • OBXJeepGuyO
                                  OBXJeepGuy @johnpoz
                                  last edited by

                                  @johnpoz I seem to be learning quite a bit today. Screenshot 2022-11-19 at 08-58-05 pfSense.Colossus - Firewall NAT Port Forward.png

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Anyway can we assume you are not translating the ports between the WAN and targets?

                                    The floating block rule you had would have blocked that traffic you saw unless it was somehow not applied at that time or a state already existed. Since you're only forwarding TCP traffic though a state remaining open would be far less likely.

                                    Steve

                                    OBXJeepGuyO 1 Reply Last reply Reply Quote 0
                                    • OBXJeepGuyO
                                      OBXJeepGuy @stephenw10
                                      last edited by OBXJeepGuy

                                      @stephenw10 said in Is it possible for one to "slip through"?:

                                      Anyway can we assume you are not translating the ports between the WAN and targets?

                                      The floating block rule you had would have blocked that traffic you saw unless it was somehow not applied at that time or a state already existed. Since you're only forwarding TCP traffic though a state remaining open would be far less likely.

                                      Steve

                                      No port translating.
                                      That floating block rule has been in place since I first set this up. The thing I don't understand is a "state already existed".

                                      1 Reply Last reply Reply Quote 0
                                      • OBXJeepGuyO
                                        OBXJeepGuy @johnpoz
                                        last edited by

                                        @johnpoz And I just looked at the state table. I guess too much time has passed and it has dropped off the list.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Another possibility is that the alias somehow became invalid when pfBlocker updated and it wasn't applied. I would put a custom list in a separate entry because that will always be valid and doesn't require updating.

                                          OBXJeepGuyO 1 Reply Last reply Reply Quote 0
                                          • OBXJeepGuyO
                                            OBXJeepGuy @stephenw10
                                            last edited by OBXJeepGuy

                                            @stephenw10 Never even thought of that possibility. Very interesting. I wouldn't even begin to know how to put that list in a separate entry, so I will leave well enough alone. This setup has worked insanely well for me in a lot of ways. It just kind of puzzled me when that one IP got through.

                                            And thanks a million for all of the replies. I feel I have learned a ton, even about things not on this subject.

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