Wiki source code of 6 VPN pass-through

Version 58.1 by Theodore Xu on 2023/07/18 17:36

Hide last authors
Theodore Xu 22.1 1 = **1 VPN **pass-through introduce =
Theodore Xu 15.1 2
Theodore Xu 27.1 3 **Functional overview**:VPN pass-through is to add PC to the Local Area Network where the device is located. It can be imagined that PC "replaces" the device at this time, and PC can access any PLC in this Local Area Network where the device is located.
Theodore Xu 24.1 4
Theodore Xu 25.1 5 (% style="text-align:center" %)
6 [[image:介绍.png]]
7
Theodore Xu 22.1 8 === ** Device list** ===
9
10 * Display all support VPN pass-through devices under current account
11 * (((
12 Right-click menu, search box is consistent with PLC pass-through
13 )))
14
15 === ** Remote LAN IP** ===
16
17 VPN pass-through required parameters, DHCP/Static IP of pass-through IP
18
19 === ** Device information** ===
20
21 Display device machine code, name, device status and other information
22
23 === **Start pass-through/End pass-through** ===
24
25 * Click Start pass-through, proceed VPN pass-through according to the setting LAN pass-through IP
26 * Click End pass-through to end VPN pass-through
27 * When the device is offline, the Start pass-through button cannot be clicked
28 * When the firmware version of the device is too low, the Start pass-through button cannot be clicked
29 * The current account does not have the permission of pass-through to this device or the device is shared by others, the Start pass-through button cannot be clicked
30 * When the current account has a device being pass-through, the Start pass-through button cannot be clicked
31 * (((
32 After clicking the Start pass-through button, the pass-through is successful, the button changes to End pass-through, and the device status color on the left side changes to yellow
33
34 {{info}}
35 ✎Note: The WVPN connection only lasting for 2 hours after user connect successfully, suggest to close the connection manually after done the debugging.
36 {{/info}}
37 )))
38
39 === **Refresh** ===
40
41 Right-click in the blank area of the device list to pop up the global operation menu.
42
43 Right-click menu to select "Refresh" or use shortcut key "F5" to refresh the status.
44
45 === **Status type** ===
46
47 There are 5 status of device in the Wecon VPN pass-through tool.
48
49 * Offline(Gray): Pass-through cannot be performed.
50 * Online(Green): Pass-through can be performed.
51 * Being in VPN pass-through(Yellow): In the status of VPN pass-through.
52 * Reconnecting VPN pass-through(Red): Due to network or other reasons, VPN pass-through is reconnecting.
53 * Ending VPN pass-through(Blue): VPN pass-through is ending.
54
Theodore Xu 52.1 55 === **How to choose the pass-through IP of the PC.** ===
56
57 For PLC and PC LANs using the different network segment.
58
59 * The PLC is directly connected to the V-BOX, and all IPs that are not used by the PLC can be used in the network segment where the PLC is located.
60 * The PLC and V-BOX are connected through a router or switch, and all free IPs not used by the PLC and other devices on the network where the PLC is located can be used in the network segment where the PLC is located.
61
62 For PLC and PC LANs using the same network segment.
63
64 * The PLC is directly connected to the V-BOX and all free IPs not used by the PLC and other devices on the network where the PLC is located can be used within the network segment where the PLC is located.
65 * The PLC and V-BOX are connected through a router or switch, and all free IPs in the network segment where the PLC is located that are not used by the PLC, other devices on the network where the PLC is located, and other devices on the network where the PC is located can be used.
66
Theodore Xu 55.1 67 {{info}}
68 **✎Note:** If the selected IP address is occupied, the pass-through function will be failed.
69 {{/info}}
70
Theodore Xu 22.1 71 = **2 **Two modes of Pass-through =
72
Theodore Xu 47.1 73 * **DHCP**: Enables the computer to randomly generate an Ethernet IP. The generated IP segment is determined by the Ethernet configuration of the V-BOX.
Theodore Xu 15.1 74
75 (% style="text-align:center" %)
Theodore Xu 17.1 76 [[image:动态IP.png||alt="动态穿透.png"]]
Theodore Xu 15.1 77
78 {{info}}
79 ✎Note: If the V-BOX is not configured with an Ethernet IP, dynamic mode of the VPN cannot be used!
80 {{/info}}
81
82 * (((
83 (% class="wikigeneratedid" %)
Theodore Xu 29.1 84 **Static IP**:Customize the generated IP address. static mode does not require setting up Ethernet configuration.
Theodore Xu 15.1 85 )))
86
87 (% style="text-align:center" %)
Theodore Xu 17.1 88 [[image:静态IP.png||alt="静态穿透.png"]]
Theodore Xu 15.1 89
Theodore Xu 58.1 90 = **3 The networking methods supported by VPN** =
Theodore Xu 1.1 91
Theodore Xu 18.1 92 (% style="text-align:center" %)
93 [[image:联网方式.png]]
Theodore Xu 2.1 94
Theodore Xu 40.1 95 === **(1)Configure Ethernet networking:DHCP** ===
Theodore Xu 2.1 96
Theodore Xu 36.1 97 (% style="text-align:center" %)
98 [[image:动态联网.png]]
99
Theodore Xu 40.1 100 (% class="wikigeneratedid" id="HFF082FF09ConfigureEthernetnetworkingFF1AStaticA0IP" %)
Theodore Xu 42.1 101 This is the IP assigned to the Box by the Ethernet. The network segment of the Ethernet IP address, which determines the network segment after using the DHCP VPN pass-through.
Theodore Xu 3.1 102
103 (% style="text-align:center" %)
Theodore Xu 40.1 104 [[image:分配的动态IP.png]]
105
106 (% class="wikigeneratedid" %)
107 At that time using VPN Pass-through:
108
109 * (((
110 VPN DCHP:After the Pass-through is complete a random IP will be generated for the 39 network segment, for example 192.168.39.XXX
111 )))
112 * (((
113 Static IP: please customize the generated IP address.
114 )))
115
116 === **(2)Configure Ethernet networking:Static IP** ===
117
118 (% style="text-align:center" %)
Theodore Xu 36.1 119 [[image:静态联网.png]]
Theodore Xu 3.1 120
Theodore Xu 38.1 121 {{info}}
Theodore Xu 45.1 122 ✎Note: When using a static IP to connect cloud, you need to set the configure the Preferred DNS Server and Altermate DNS Server. If you are using connecting by other methods, you do not need to configure the Preferred DNS Server and Altermate DNS Server.
Theodore Xu 38.1 123 {{/info}}
Theodore Xu 3.1 124
Theodore Xu 44.1 125 (% class="wikigeneratedid" %)
126 At that time using VPN Pass-through:
127
128 * (((
Theodore Xu 50.1 129 VPN DCHP:After the Pass-through is complete a random IP will be generated for the **39** network segment, for example 192.168.**39**.XXX
Theodore Xu 44.1 130 )))
131 * (((
132 Static IP: please customize the generated IP address.
133 )))
134
Theodore Xu 45.1 135 === **(3)Configure WIFI networking** ===
Theodore Xu 38.1 136
Theodore Xu 49.1 137 When using WIFI to connect to the cloud, you need to configure a static IP to communicate with devices such as PLC.
Theodore Xu 3.1 138
Theodore Xu 49.1 139 The following two connections are available:
Theodore Xu 3.1 140
Theodore Xu 49.1 141 (1)
Theodore Xu 46.1 142
Theodore Xu 49.1 143
Theodore Xu 46.1 144 (% style="text-align:center" %)
145 [[image:wifi 不直连.png]]
146
Theodore Xu 49.1 147 (2)
Theodore Xu 46.1 148
Theodore Xu 48.1 149 (% style="text-align:center" %)
150 [[image:wifi 直连.png]]
Theodore Xu 3.1 151
Theodore Xu 49.1 152 (% class="wikigeneratedid" id="H" %)
153 **~ **At this time, Ethernet is as the communication IP, WIFI is used to connect to the cloud.  
Theodore Xu 48.1 154
Theodore Xu 49.1 155 (% style="text-align:center" %)
156 [[image:wifi.png]]
Theodore Xu 48.1 157
Theodore Xu 49.1 158 (% class="wikigeneratedid" %)
159 At that time using VPN Pass-through:
160
161 * (((
162 VPN DCHP:After the Pass-through is complete a random IP will be generated for the **50** network segment, for example 192.168.**50**.XXX
163 )))
164 * (((
165 Static IP: please customize the generated IP address:192.168.**50**.XXX
166 )))
167
Theodore Xu 56.1 168 === **(4)Configure  4G networking** ===
Theodore Xu 48.1 169
Theodore Xu 56.1 170 please refer to WIFI setting
Theodore Xu 3.1 171
172 (% style="text-align:center" %)
Theodore Xu 56.1 173 [[image:4G 联网.png]]
Theodore Xu 3.1 174
Theodore Xu 56.1 175
176
Theodore Xu 12.1 177 = 4 [[Problem and error checking>>https://docs.we-con.com.cn/bin/view/V-BOX/FAQ/VPN%20pass-through]] =