Wiki source code of 6 VPN pass-through

Version 21.1 by Theodore Xu on 2023/07/18 14:35

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