Wiki source code of 6 VPN pass-through

Version 32.1 by Theodore Xu on 2023/07/18 14:54

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