Wiki source code of 6 VPN pass-through

Version 63.1 by Theodore Xu on 2023/09/28 14:32

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