Wiki source code of 6 VPN pass-through

Version 25.1 by Theodore Xu on 2023/07/18 14:43

Show last authors
1 = **1 VPN **pass-through introduce =
2
3
4 === **Functional overview** ===
5
6 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.
7
8 (% style="text-align:center" %)
9 [[image:介绍.png]]
10
11 === ** Device list** ===
12
13 * Display all support VPN pass-through devices under current account
14 * (((
15 Right-click menu, search box is consistent with PLC pass-through
16 )))
17
18 === ** Remote LAN IP** ===
19
20 VPN pass-through required parameters, DHCP/Static IP of pass-through IP
21
22 === ** Device information** ===
23
24 Display device machine code, name, device status and other information
25
26 === **Start pass-through/End pass-through** ===
27
28 * Click Start pass-through, proceed VPN pass-through according to the setting LAN pass-through IP
29 * Click End pass-through to end VPN pass-through
30 * When the device is offline, the Start pass-through button cannot be clicked
31 * When the firmware version of the device is too low, the Start pass-through button cannot be clicked
32 * 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
33 * When the current account has a device being pass-through, the Start pass-through button cannot be clicked
34 * (((
35 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
36
37 {{info}}
38 ✎Note: The WVPN connection only lasting for 2 hours after user connect successfully, suggest to close the connection manually after done the debugging.
39 {{/info}}
40 )))
41
42 === **Refresh** ===
43
44 Right-click in the blank area of the device list to pop up the global operation menu.
45
46 Right-click menu to select "Refresh" or use shortcut key "F5" to refresh the status.
47
48 === **Status type** ===
49
50 There are 5 status of device in the Wecon VPN pass-through tool.
51
52 * Offline(Gray): Pass-through cannot be performed.
53 * Online(Green): Pass-through can be performed.
54 * Being in VPN pass-through(Yellow): In the status of VPN pass-through.
55 * Reconnecting VPN pass-through(Red): Due to network or other reasons, VPN pass-through is reconnecting.
56 * Ending VPN pass-through(Blue): VPN pass-through is ending.
57
58 = **2 **Two modes of Pass-through =
59
60 * DCHP: Enables the computer to randomly generate an Ethernet IP. The generated IP segment is determined by the Ethernet configuration of the V-BOX.
61
62 (% style="text-align:center" %)
63 [[image:动态IP.png||alt="动态穿透.png"]]
64
65 {{info}}
66 ✎Note: If the V-BOX is not configured with an Ethernet IP, dynamic mode of the VPN cannot be used!
67 {{/info}}
68
69 * (((
70 (% class="wikigeneratedid" %)
71 Static IP:Customize the generated IP address. static mode does not require setting up Ethernet configuration.
72 )))
73
74 (% style="text-align:center" %)
75 [[image:静态IP.png||alt="静态穿透.png"]]
76
77 = **5 The mode of Box connecting to the cloud** =
78
79 (% style="text-align:center" %)
80 [[image:联网方式.png]]
81
82
83 (% style="text-align:center" %)
84 [[image:Ethernet setting.png]]
85
86 === ** Configure Ethernet networking** ===
87
88 When using Ethernet for connecting cloud, it need to configure the Preferred DNS Server and Altermate DNS Server. If you are using 4G/WIFI to connect to the cloud, you do not need to configure the Preferred DNS Server and Altermate DNS Server.
89
90 The network segment of the Ethernet IP address, which determines the network segment after using the DHCP VPN pass-through
91
92 (% style="text-align:center" %)
93 [[image:Ethernet.png||alt="Ethernet setting.png"]]
94
95 === ** Configure Ethernet and WIFI networking** ===
96
97 At this time, Ethernet is used to connect with intranet and only used as a VPN passthrough. WIFI is used to connect to the cloud.  
98
99 [[image:1688622050993-253.png]]
100
101 === ** Configure Ethernet and 4G networking** ===
102
103 At this time, Ethernet is used to connect with intranet and only used as a VPN pass-through. 4G is used to connect to the cloud.  
104
105 (% style="text-align:center" %)
106 [[image:4G.png]]
107
108 = **1 VPN **pass-through =
109
110 (% style="text-align:center" %)
111 [[image:VPN pass.png]]
112
113 **Functional overview**
114
115 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.
116
117 === ** Device list** ===
118
119 * Display all support VPN pass-through devices under current account
120 * (((
121 Right-click menu, search box is consistent with PLC pass-through
122 )))
123
124 === ** Remote LAN IP** ===
125
126 VPN pass-through required parameters, DHCP/Static IP of pass-through IP
127
128 === ** Device information** ===
129
130 Display device machine code, name, device status and other information
131
132 === **Start pass-through/End pass-through** ===
133
134 * Click Start pass-through, proceed VPN pass-through according to the setting LAN pass-through IP
135 * Click End pass-through to end VPN pass-through
136 * When the device is offline, the Start pass-through button cannot be clicked
137 * When the firmware version of the device is too low, the Start pass-through button cannot be clicked
138 * 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
139 * When the current account has a device being pass-through, the Start pass-through button cannot be clicked
140 * (((
141 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
142
143 {{info}}
144 ✎Note: The WVPN connection only lasting for 2 hours after user connect successfully, suggest to close the connection manually after done the debugging.
145 {{/info}}
146 )))
147
148 === **Refresh** ===
149
150 Right-click in the blank area of the device list to pop up the global operation menu.
151
152 Right-click menu to select "Refresh" or use shortcut key "F5" to refresh the status.
153
154 === **Status type** ===
155
156 There are 5 status of device in the Wecon VPN pass-through tool.
157
158 * Offline(Gray): Pass-through cannot be performed.
159 * Online(Green): Pass-through can be performed.
160 * Being in VPN pass-through(Yellow): In the status of VPN pass-through.
161 * Reconnecting VPN pass-through(Red): Due to network or other reasons, VPN pass-through is reconnecting.
162 * Ending VPN pass-through(Blue): VPN pass-through is ending.
163
164 = **3 Operating Steps** =
165
166 Select device in the device list. You can select "DHCP" or "Static IP".
167
168 * If you select "DHCP", during pass-through, the PC will negotiate with the V-BOX to obtain an available IP address of PC without user intervention.
169 * If "Static IP" is selected, the user needs to fill in the pass-through IP of the PC manually, which will be used for pass-through.
170
171 (% style="text-align:center" %)
172 [[image:static VPN.png||height="434" width="1186"]]
173
174
175 **How to choose the pass-through IP of the PC.**
176
177 For PLC and PC LANs using the different network segment.
178
179 * 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.
180 * 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.
181
182 For PLC and PC LANs using the same network segment.
183
184 * 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.
185 * 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.
186
187 {{info}}
188 **✎Note:** If the selected IP address is occupied, the pass-through function will be failed.
189 {{/info}}
190
191 = 4 [[Problem and error checking>>https://docs.we-con.com.cn/bin/view/V-BOX/FAQ/VPN%20pass-through]] =