![]() That is, today your ESP has the address 192.168.88.100, and if you turn it off and on again, the router can give it a different IP address, for example 192.168.88.105. The list of all devices on your local network can be viewed by going to the "IP -> DHCP Server" section, and then to the "Leases" tab.īy default, your router, issues dynamic (temporary) IP addresses to devices on the local network. Now we need to make sure that our server can communicate with many smart devices through one connection. Password: password which you got in SmartESP.User: login which you got in SmartESP, in this example is smart337665vpn7. ![]() The settings window will open, where in the "Dial Out" tab you should specify: Configuration begins with the "Interfaces" section, where a list of all connections is displayed:Ĭlick the plus symbol in the upper left corner and select the "PPTP Client" option from the list. Then, based on the router model, search the Internet, for example, by request "TP-LINK XXX router VPN setup". Next, we give instructions using the Mikrotik router as an example (using the WinBox program). First, you need to check if your router supports the VPN client. Clicking on it will display the VPN service settings, which should be kept private. After adding, a line will appear in the table, at the beginning of which there will be a plus symbol. Moreover, the devices may be located in different places. You can have multiple VPNs if you want to combine all your smart devices into one smart network. Press the button "New VPN-service" and put any name. We will use a VPN connection using the popular and simple PPTP protocol. First, you need to log in to your account, and then go to the "VPN service" tab. Most often it is chosen because the ISP cannot provide you with a public IP address. Usually, the VPN connection is placed on the primary router. Of course, such a scheme is optional, and you can connect absolutely all devices and home users, and ESP boards to one Main Router. Additional Secondary Routers, cheaper and with more modest parameters, are also connected to Main Router, their task is to provide a low-load, but the stable connection with ESP boards. One Main Router, which is a gateway to the Internet, has a powerful processor and a WiFi net to connect home users with high traffic, plus it can establish a VPN connection. We recommend the VPN connection option as it is simpler and more secure.Īs you can see in the scheme, the ideal network assumes that multiple routers will be used. With a VPN connection, your router connects to our server and also receives an IP address, but not a public one, but a private one, which will be hidden from others. So, you will have to ensure that your router is protected from possible hacker attacks. Direct access requires you to have a permanent IP address that will be available for all users on the Internet. On the Internet, an address is an IP code and a port, for example: IP – 124.217.51.102, port – 2345, together: 124.217.51.102:2345.Īccess to your ESP board can be in two ways: direct access via the public IP address and access via a VPN (Virtual Private Network) connection. The SmartESP service can control your project only if it has an address.
0 Comments
Leave a Reply. |