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

    IOT devices

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 3 Posters 1.3k 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.
    • S
      sfigueroa
      last edited by

      Evening everyone, I’m new to pfsense and seem to be running into an issue where I have iot devices on another lan and I’m getting an out going block to an Amazon aws address on port 443. I have added rules to allow outgoing connections on port 443 and added the them to the whitelist in pfblockerng delve. I’m not sure what else to do to get those connections out. Has anyone ran into this issue?

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

        @sfigueroa This is what I currently see
        Screenshot 2023-02-09 080637.png And this is the firewall rules in that category.
        Screenshot 2023-02-09 080849.png

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

          @sfigueroa are those syn blocks? What is flag on the block, its could be just out of state blocks..

          On your firewall log - under the protocol column - does its show just a S, or does it show something else A, FA, R, SA, PA, etc.. unless its just a S (syn) then the block is because of lack of a state.. This can be quite common to see, when a client attempts to use an old session that has timed out, or was closed for some other reason, etc.

          block.jpg

          https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.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

          1 Reply Last reply Reply Quote 0
          • S
            sfigueroa
            last edited by

            @johnpoz Looks like it's TCP:FPA

            S johnpozJ 2 Replies Last reply Reply Quote 0
            • S
              sfigueroa @sfigueroa
              last edited by

              @sfigueroa Screenshot 2023-02-09 083216.png

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

                @sfigueroa so a fin,ack with push flag.. Yeah that would scream out of state.. Could be the client tried to use the old session, didn't get an answer so sent a fin,ack

                Those are not uncommon to see - if you were seeing blocks on S, then your rules are not allowing the traffic. Any other sort of flags are because there is not state to allow it. Why could be lots of reasons, asymmetrical traffic flow would be high on the list if you were seeing SA.. but something with a Fin normally just means firewall already closed it because it saw a fin, and the client is just retrans it because it didn't get an answer.. etc..

                I wouldn't worry much about such blocks - if they bug you, you could turn off logging blocking default blocks and just setup your own rules to log only syn blocks, etc. If your seeing lots and lots of them - might be good to look into why.. Maybe your state table is getting reset because of loss of wan and setting to reset states when that happens, 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

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

                  @johnpoz Yea thank you for your advice, I have sene you a lot around the forums! I will look at it but I am not seeing many of them when I do see a few it's possible because I have a lot of smart bulbs I mean... ALOT... but only see a few entries.

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

                    @johnpoz Do you have any advice on my firewall rules for the IOT area? Anything off that maybe I should be doing differently in the rules?

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

                      @sfigueroa why are you passing that ff02::/16 pfsense not really going to do anything with multicast - are you passing it along with pimd or something? Or you just don't want to see noise in your logs?

                      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 Reply Quote 0
                      • S
                        sfigueroa @johnpoz
                        last edited by

                        @johnpoz I didn’t want to see the noise in the logs.

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

                          You can block it without logging it instead.

                          1 Reply Last reply Reply Quote 1
                          • S
                            sfigueroa
                            last edited by

                            I am also trying to activate dhcp6 on that interface. It works on wan just fine but all other interfaces the dhcp6 is showing as pending and unknown on the online section. Wan and Lan are showing just fine.

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

                              You're trying to enable the dhcpv6 server on the IOT interface?

                              Where exactly are you seeing that status?

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sfigueroa @stephenw10
                                last edited by

                                @stephenw10 on the gateway tab

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

                                  You enabled IOT as a dhcpv6 client? Is there another DHCv6 server on that subnet?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    sfigueroa @stephenw10
                                    last edited by

                                    @stephenw10 No just the firewall, Im using my old router as an ap.

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

                                      So what gateway are you looking at? pfSense should not have an IPv6 gateway on IOT unless there's some other router on there.
                                      The IOT interface should not be a DHCPv6 client it should be either static or tracking some upstream interface, the same as LAN is.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        sfigueroa @stephenw10
                                        last edited by

                                        @stephenw10 Oh i understand now, ill take a look and let you know how it goes! thank you so much!

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