Wiki source code of 6 VPN pass-through

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

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