NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

OliverWhite's avatar
OliverWhite
Aspirant
Dec 14, 2017
Solved

WAN access to LAN smart plugs

I recently purchased VRLIFE,Smart Plug smart plugs to use with Google assistant and Google Home. I was suprised that I can control the smart plug when I am outside my home wireless network.   How d...
  • antinode's avatar
    Dec 14, 2017

    > How do my smart plug commands travel from the WAN through my router's
    > firewall to my home LAN? I have not opened ports for any traffic to the
    > smart plug private IP addresses.

       I know nothing about the "VRLIFE,Smart Plug", but I have played
    around a little with Wireshark to observe an Orvibo S20 "smart socket",
    which, I'd guess, operates similarly.  It's a clever/sneaky scheme.

       When an Orvibo S20 connects to a wireless network, it sends a DNS
    query about "homemate.orvibo.com" to a specific name-server IP address
    (168.95.192.1 = hntp1.hinet.net), which returns the address of some
    amazonaws.com rent-a-server (hired by Orvibo, I assume).  Then the S20
    socket opens a TCP connection to the AWS server (at port 10001).

       If you want to switch on your desk lamp at home when you're on the
    other side of the planet with your pad/phone app, all the app needs to
    do is contact the same AWS server, which can forward a message to the
    S20 socket using the connection which the S20 socket previously
    established to the AWS server.

       The advantage to a scheme like this is that the S20 socket creates an
    outgoing connection to the AWS server, which is handled by the wireless
    router's ordinary NAT functionality.  This way, there's no need to
    arrange any port forwarding, which would be needed to handle an incoming
    connection from the outside world (from the pad/phone app directly).

       Because of the fixed-address quality of the initial DNS query, it's
    hard to confuse/hijack the little fellow by providing it with a
    (malicious) do-it-yourself DNS server.

       Your gizmo's details may differ, but I'd bet (a small sum) that all
    these Internet-of-Junk gizmos work about the same way for this

    capability.