6 VPN Function
6.0.3 Usage Method
First contact customer service to get a Wuyun platform account
Open the Wuyun Intelligent Gateway Management System https://www.woody.vip/custom and log in (account contact administrator for assignment)
The homepage has configuration files and software, please choose according to your platform
The device list page shows the status of all devices in your company. The IP address shown in the list is the IoTBoX VPN IP address, which can be used to manage the gateway
6.0.3.1 Map Device Usage Method
- On the IoTBoX VPN page, fill in the IP address of the device to be mapped in the mapping IP address
- The network configuration interface of the device to be mapped needs to set the Gateway to IoTBoX’s IP address
Then the mapping from IoTBoX to the device can be achieved. At this time, on a computer connected to VPN, you can directly perform machine tool/PLC upload/download functions on IoTBoX’s VPN IP, which is equivalent to operating the machine tool/PLC itself
6.0.3.2 Bridge Mode Usage Method
On the IoTBoX VPN page, set bridge mode to on to use VPN bridge mode. This solution is more complex and is suitable when the mapping solution cannot solve the problem.
The core of this solution is to place machine tools/PLCs and users on the same switch, so users need to manually configure IP addresses to make the network reachable. The network configuration method is as follows (if IP address configuration is not needed, you can skip it and directly use related software for broadcast scanning)
6.0.3.2.1 Machine Tool IP Address Modification (Recommended)
- On the device list page, click the machine tool button in the operation column of the IoTBoX configured this time to enter IoTBoX’s machine tool list
- After adding a machine tool, a machine tool IP will be assigned. This IP is non-conflicting across the entire network and can be safely used
- Click the IP address to display complete IP configuration parameters
- Fill in the network parameters displayed on this page in the machine tool’s network interface. The two most important parameters are IP address and subnet mask. Other parameters can be left unset (if IP address configuration is not needed, this step can be skipped)
- At this point, network configuration is complete. If an IP address is configured, you can directly operate the machine tool
6.0.3.2.2 Computer IP Address Modification
If the machine tool already has its own network address and it’s inconvenient to modify, you can achieve a subnet by modifying the computer IP 1. Find the VPN network card in Windows Network Center, the driver contains Tap field 2. Open cmd (may require administrator privileges) and enter the following command
Replace the Ethernet card name with the name found in the previous step, and modify the IP address according to your own rules
6.0.3.3 Port Mapping Mode
- Ensure IoTBoX can ping the device to be mapped and can access the port to be forwarded
- On IoTBoX’s VPN page, add the IP and port to be mapped
- As shown in the figure below, the internal port is automatically generated. You can access the mapped service through IoTBoX’s VPN address plus the internal port
6.0.3.4 Route Mode
Open the device control interface as shown below
Enable router mode
Ensure IoTBoX can ping the device to be accessed
Open Windows cmd command box, need Administrator Mode to enter the following command
route add 192.168.1.0 mask 255.255.255.0 10.8.0.22
:: 192.168.1.0 is the network segment to be routed, can also be a single IP
:: 255.255.255.0 is the subnet mask of the network segment to be routed, use 255.255.255.255 for a single IP
:: 10.8.0.22 is **IoTBoX**'s VPN IP- After setting is complete, you can directly access the device’s internal IP, such as 192.168.1.x under the above configuration
6.0.4 Notes
- VPN can directly connect to the enterprise intranet. If security requirements are very high, operate with caution
- If you need private deployment of gateway management platform, please contact business woody@woody.vip
- Since VPN service data traffic will pass through the server, it will definitely cause high latency. For low-latency scenarios, avoid using VPN