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

    Having Trouble With Nest & Energenie Gateway Since pfSense

    Scheduled Pinned Locked Moved General pfSense Questions
    32 Posts 4 Posters 2.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @mbc0
      last edited by johnpoz

      @mbc0 said in Having Trouble With Nest & Energenie Gateway Since pfSense:

      As for my nest (on the nest itself) it says the router is 192.168.1.5

      Where does it say that? What are you looking at? The device on the wall has nothing that says router,

      Take a picture of where you see that.. It clearly shows IP, mask and gateway - I will take a picture when I get home. I would swear it doesn't say router when you look at network details. I just looked at mine this morning before left for work - I was going to take a picture of it even ;) For use on this thread.

      Did you name your SSID 192.168.1.5?

      Lets say nest used port XYZ doesn't matter your rule is ANY ANY!!

      When I get a chance I will sniff the traffic coming off the nest on how it checks the outside temp.

      Also where is not showing the outside temp, is your location set? What version of the software running on your nest, on your app?

      0_1534270184631_outsidetemp.png

      I found this seems like your same sort of problem

      https://www.reddit.com/r/Nest/comments/8cg367/nest_app_no_longer_shows_outside_temp_ios/

      Here is my info showing software version and when last updated, etc. I will take a picture of it detailed network info when I get home

      0_1534270411003_info.png

      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
      • M
        mbc0
        last edited by mbc0

        Hi!

        I have taken some photo's to show you what I mean,

        I am contacting energenie today to see what their gateway is looking for port wise.

        It is the farsight weather that the nest will not display when on pfsense...

        1_1534326693948_20180814_191012.jpg 0_1534326693948_20180814_191006.jpg 1_1534326722640_20180814_191026.jpg 0_1534326722639_20180814_191022.jpg 1_1534326743876_20180814_191135.jpg 0_1534326743875_20180814_191031.jpg

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          1262 ping response time is a bit 💩

          What respones time do you get if you ping 8.8.8.8 from a PC / Laptop ?

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          M 1 Reply Last reply Reply Quote 0
          • M
            mbc0 @NogBadTheBad
            last edited by

            @nogbadthebad yes, I agree! I get 16ms from wired devices and 21 from wireless devices in the same room

            NogBadTheBadN 1 Reply Last reply Reply Quote 0
            • NogBadTheBadN
              NogBadTheBad @mbc0
              last edited by NogBadTheBad

              "21 from wireless devices in the same room" Same SSID as the Nest & Energenie ?

              If its the same SSID is the Nest & Energenie on 2.4 Ghz and the device your testing from on 5Ghz ?

              Andy

              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

              1 Reply Last reply Reply Quote 0
              • M
                mbc0
                last edited by

                Same room as the Nest and same SSID (Home Control)

                Home Control is a seperate SSID I set up on my UniFi just for all my smart devices, light switches etc

                The Energene Gateway is wired not wireless

                Also, I have just received this information from Energenie as I am typing this reply

                "The problem you are experiencing is probably as a result of the internal/external port 9998 been closed: Please follow the following instructions and ensure port 9998 is open:

                1. Please use this link to find out if port 9998 is open http://www.yougetsignal.com/tools/open-ports/
                2. If the port is closed. You will need to find your gateway in your network. The gateway uses a dynamic IP address obtained from the DHCP server of the network it's plugged into. You will be able to find devices on your network through your router settings. To access your router settings you need to know its IP address, and if you're having trouble accessing this it may have changed. You can find the IP address using ipconfig. The options from this point will vary depending on which home hub you own. Once you find your gateway
                  take note of it’s IP address or MAC address.
                3. You will need to place your gateway in a DMZ. A DMZ (demilitarized Zone) is a conceptual network design where publicly accessible servers are placed on a separate, isolated network segment. The intention of a DMZ is to ensure that publicly accessible servers cannot contact other internal network segments, in the event that a server is compromised. Open the web browser and type the IP address of the device in the address bar (default is 192.168.1.1/192.168.0.1/192.168.0.254). Press Enter. The default username and password are both admin, click OK to log into the device. There should be an option for Configure the DMZ. You could check Enable for the current DMZ Status, enter the IP address of the gateway.
                4. At this point the gateway should begin to work. You will be able to control your devices. Now you will need to enable port forwarding port 9998. This step will vary depending on your router. Access your router settings. Select advance settings. Under security there should be an option for port forwarding. Here are the settings you will need
                  a. Name: enter a name for the service (Energenie)
                  b. Start Port: enter the start port for the service (9998)
                  c. End Port: enter the end port for the service (9999)
                  d. Protocol: Select the protocol for the ports: select UDP
                  e. External and internal ports
                  f. IP Address: IP address of gateway
                  Can now take the gateway out of DMZ. Bear in mind that the gateway uses a dynamic IP address obtained from the DHCP server of the network it's plugged into. If the gateway reboots it will have a different IP address. You can go back to change the IP address you’ve set in the above port forwarding rule."
                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  its address is .5 and its router is .5 - that will not work..

                  And its point to itself for dns... Looks like it got some sort of IPv6 address..
                  0_1534331492532_IMG_4238.JPG

                  You have something major wrong with dhcp.. You can not have the same router/gateway as your own IP and also point to yourself for dns and expect anything to work.

                  So your nest has same IP as your AP..

                  They need an inbound port forward - no... Return it... There is zero reason for these devices to require inbound traffic.

                  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
                  • M
                    mbc0
                    last edited by mbc0

                    I understand but all other 13 devices are working fine. I cannot configure the nest all I can do is choose an SSID and connect to it so I presume the nest is screwing up? All other devices can connect to the internet and talk to each other etc

                    0_1534331738462_pf.JPG

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

                      oh they are talking if your router is behind a nat it seems like..

                      You have something wrong for dhcp... In the nest it will pull dhcp yes.. Clearly that is wrong.

                      Look at your other wireless devices - they sure and the hell do not point to their own IP for a router and dns which is someone elses IP.

                      From that list your ac lite is .39 your AP.. Thought you said before that your AP was .5

                      Ok your nest is .5 what do you have setup in that static reservation... You need it to talk to pfsense for its gateway/router and dns.

                      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
                      • M
                        mbc0
                        last edited by

                        ah, I am really sorry!

                        yes you are right I got confused, the nest as you say is .5 and the AP is .39

                        1_1534332187163_pf5.JPG 0_1534332187163_pf4.JPG

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

                          what is your overall dhcp pool... Since with those settings your client should point to pfsense IP on which 192.168.1.x??

                          For both its router/gateway and dns..

                          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
                          • M
                            mbc0
                            last edited by

                            I have my local lan on 192.168.0

                            My AP Gateway is 192.168.1

                            the pfsense is 192.168.0.10

                            I do not have any pools setup

                            1_1534332839947_pf7.JPG 0_1534332839947_pf6.JPG

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

                              you do have a pool - the default ones.

                              What is the pfsense unifi interface IP 192.168.1.X ??

                              That should be the gateway/router for your wifi clients and also that should be there dns.

                              Do you have anything setup in the router setup in the unifi dhcp server page? You didn't list the whole page.

                              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
                              • M
                                mbc0
                                last edited by

                                Hi,

                                I do not know what the pfsense UniFi interface IP is as I just use 192.168.0.10 (which is reachable from UniFi 192.168.1.*)

                                Could this be an issue? as devices are looking for it on 192.168.1?

                                There is nothing setup on the DHCP page I uploaded previously, everything is blank apart from what you have already seen..

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