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

    Ring and Eufy client behind pfSense

    General pfSense Questions
    4
    56
    7.9k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @brtech
      last edited by

      @brtech said in Ring and Eufy client behind pfSense:

      The clients (both Eufy and Ring) time out

      So these clients on some phone or tablet? What if you just go to ring.com to view the live stream from the camera. Can you not get to ring.com?

      Does the page not load, what is the error your seeing in the browser when trying to view stream?

      Out of the box doesn't block anything outbound.. So either you have altered the default rules? Your running something like pfblocker that is blocking dns you need to be able to lookup? Your running IPS?

      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.7.2, 24.11

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

        The only other thing it could be potentially is the randomised source port in outbound NAT. That seems very unlikely here but it's relatively easy to test by adding a manual outbound NAT rule for one client.

        Steve

        johnpozJ 1 Reply Last reply Reply Quote 0
        • B
          brtech @johnpoz
          last edited by

          @johnpoz Yes the clients and on two different android phones.

          pfblockerng is running, but disabling it didn't resolve the issue.

          No ips is running.

          A browser on the same phone does indeed work, although I have no idea how they do that so it may use a completely different mechanism to the clients.

          My next step will be to trace the Eufy traffic on my home router as that works and see what is missing, then see what rule(s) may be hitting this.

          B 1 Reply Last reply Reply Quote 0
          • B
            brtech @brtech
            last edited by

            Likewise on the Eufy portal it also works, but again, this is probably not using the same ports etc.

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

              @stephenw10 that "might" be the case with a client, but I find that really really hard to believe because every single home router that I have even seen does NAPT. So if that was the case pretty much nobody would be able to access streams if their client was behind a home router..

              So your over at Billys house on his wifi, you wouldn't be able to view your ring stream..

              Do you have some test install that you would be willing to share the login with - yeah its a big ask.. But maybe you have a test setup, and could see if i can view it from behind my pfsense.

              Its a ring camera - so what would I see, someone's front porch ;) Be happy to test that for you if your ok with it.. Just PM the login info, and will try from the ring.com site and can install the app on my phone.

              Ah so ring.com works - so what is going on with the app, do you have non android phone - iphone maybe? Or a ipad or something?

              Not sure about android - but iphones recently added that hide my IP nonsense.. That could be causing problems, does android have the same sort of thing?

              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.7.2, 24.11

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

                @johnpoz said in Ring and Eufy client behind pfSense:

                I find that really really hard to believe because every single home router that I have even seen does NAPT.

                I remember discussing this before. Now it could well be that the only time I ever see this is when pfSense does something different causing me to look. 😉 But, every SOHO router device I've had cause to look at did not translate the source port outbound. Maybe I should look harder!

                Either way it's hard to believe that's an issue here. pfSense has always done that, it's not something that changed recently. Ring would have to have changed their app in a massive backwards step.

                Steve

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

                  @brtech working here

                  I blurred out most of the picture - never know what people are worried about posting on public forum.. But picture was fine..

                  camera.jpg

                  I am on a iphone 13, running ios 15.6, my pfsense is 22.05

                  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.7.2, 24.11

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    brtech @johnpoz
                    last edited by

                    @johnpoz Interesting, ok I'll trace the traffic this evening from home then I should be able to see what isn't happening on my office install vs what is at home.

                    Thanks for trying that.

                    I'll update here what I find on Friday.

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

                      @brtech ok so I routed it through my 2.6 VM and still working fine..

                      26.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 24.11 | Lab VMs 2.7.2, 24.11

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        brtech @johnpoz
                        last edited by

                        @johnpoz Ok, so I'm almost certainly blocking something, I'll check home trace vs office pfSense and see what it is and I'll update this post accordingly.

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

                          @brtech Yeah interesting to see what is the problem.. On a side note I have a ring account now - hehehe

                          Now I just need a ring device ;)

                          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.7.2, 24.11

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            brtech @johnpoz
                            last edited by

                            @johnpoz Andy's wife arrives home naked in an hour so he'll need to delete the permission!

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

                              @brtech hahaha - so set it to record, got ya ;)

                              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.7.2, 24.11

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                brtech @johnpoz
                                last edited by

                                @johnpoz Is there a quick way to debug what would happen to an IP address/port?

                                This IP and port on this interface -> blocked by rule abc-1

                                Rather than trying to hunt through all the rules and aliases?

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

                                  @brtech You could look at the state table to see where the device is connecting too. Or trying to connect too.

                                  And you could log dns traffic.. Let me set it back to just my main pfsense, and then I will close the app and do a sniff on my phone IP to see what it looks up and where it goes..

                                  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.7.2, 24.11

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

                                    Could it be an IPv6 issue?

                                    Like, your ISP enabled v6 at some point and pfSense was configured to use it. Android started defaulting to that?

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

                                      @brtech did you remove the share, I don't see any shared devices any more in the app.

                                      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.7.2, 24.11

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        brtech @johnpoz
                                        last edited by

                                        @johnpoz Sorry, he's just going to re-invite you again

                                        johnpozJ 3 Replies Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator @brtech
                                          last edited by

                                          @brtech killed all the apps, cleared my phones dns cache, setup sniffing - and then opened the app and nothing there ;) hehehe

                                          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.7.2, 24.11

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

                                            @brtech Ok now the trick is trying to figure out if all ring related, or my phone doing other stuff. I closed all the apps.. Flushed the dns by toggle airplane mode.. and then back into airplane mode so it should of had to do all the dns stuff.

                                            dns.jpg

                                            That is what I saw for dns queries and answers.

                                            But there were some other protocols in use DTLS for example.. Which would make sense for streaming video..

                                            Here is all the conversations I saw, the last biggest one has to be the few seconds of video..

                                            conv.jpg

                                            I will keep this sniff, and we could compare it to one where we fail.. I could send it to you if you want it for your own comparison.. Just email me at the email address I gave you on where you want me to send it. its like 5MB..

                                            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.7.2, 24.11

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