欢迎图片

06 VPN pass-through

Last modified by Joe on 2024/11/29 15:21

VPN pass-through

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.

介绍.png

 Device list

  • Display all support VPN pass-through devices under current account
  • Right-click menu, search box is consistent with PLC pass-through

 Remote LAN IP

VPN pass-through required parameters, DHCP/Static IP of pass-through IP

 Device information

Display device machine code, name, device status and other information

Start pass-through/End pass-through

  • Click Start pass-through, proceed VPN pass-through according to the setting LAN pass-through IP
  • Click End pass-through to end VPN pass-through
  • When the device is offline, the Start pass-through button cannot be clicked
  • When the firmware version of the device is too low, the Start pass-through button cannot be clicked
  • 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
  • When the current account has a device being pass-through, the Start pass-through button cannot be clicked
  • 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

    Information

    ✎Note: The WVPN connection only lasting for 2 hours after user connect successfully, suggest to close the connection manually after done the debugging. 

Refresh

Right-click in the blank area of the device list to pop up the global operation menu.

Right-click menu to select "Refresh" or use shortcut key "F5" to refresh the status.

Status type

There are 5 status of device in the Wecon VPN pass-through tool.

  • Offline(Gray): Pass-through cannot be performed.
  • Online(Green): Pass-through can be performed.
  • Being in VPN pass-through(Yellow): In the status of VPN pass-through.
  • Reconnecting VPN pass-through(Red): Due to network or other reasons, VPN pass-through is reconnecting.
  • Ending VPN pass-through(Blue): VPN pass-through is ending.

How to choose the pass-through IP of the PC.

For PLC and PC LANs using the different network segment.

  • 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.
  • 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.

For PLC and PC LANs using the same network segment.

  • 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.
  • 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.
Information

✎Note: If the selected IP address is occupied, the pass-through function will be failed.

Two modes of VPN

  • DHCP: Enables the computer to randomly generate an Ethernet IP. The generated IP segment is determined by the Ethernet configuration of the V-BOX!
Information

✎Note: If the V-BOX is not configured with an Ethernet IP, dynamic mode of the VPN cannot be used!!!

动态穿透.png

  • Static IP:Customize the generated IP address. static mode does not require setting up Ethernet configuration.

静态穿透.png

The networking methods supported by VPN

Connects to the cloudVpn mode
Ethernet(1) DHCP   
(2) Static   
4G(3) DHCP   
(4) Static   
WIFI(5) DHCP   
(6) Static   

Cloud:Ethernet  VPN: DHCP

Configute network(DHCP)

动态联网.png

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.

分配的动态IP.png

Configute network(Static)

静态联网.png

At that time using VPN Pass-through:

  • 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

    以太网动态穿透.png

    Cloud: Ethernet  VPN: Static

    Static IP: please customize the generated IP address. 

Information

✎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.

  • 以太网静态穿透.png

Cloud: WIFI  VPN: DHCP

Configute network(DHCP)

WIF动态配置.png

Configute network(Static)

WiFi静态配置.png

 At this time, Ethernet is as the communication IP, WIFI is used to connect to the cloud.   

wifi.png

At that time using VPN Pass-through:

  • 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

  • Static IP: please customize the generated IP address:192.168.50.XXX 

Cloud: WIFI  VPN: DHCP

please refer to WIFI setting

4G 联网.png

Use the LAN port for communication

LAN 口.png

Problem and error checking

VPN port

There will be two ports opened in outbound of the V-box network, 17195 and 17196. The following step will show how to verify if two ports are permitted.

Note:

1.The following test must keep PC and V-box on the same LAN.

2.If the network of V-box is stable and it show "Failed to connect with server " in VPN through, please check the following step. 

Enable Telnet Client Via Control Panel

Press "Win + R" and input "control" to enter Control Panel.

Programs→ Programs and Features→ "Turn Windows features on or off→ Enable Telnet Client→ OK → Wait for the installation to complete

1732852208701-414.png

YunMQJJDJk.png

I4vbjIFU1y.png

UQQq7y583D.png

cQhAQl6qq1.png

Select VPN server IP corresponding to V-Net server

Asean: 159.138.233.229

Europe:18.158.109.116

China: 114.115.203.209

Press "Win + R" and input "cmd" to enter Administrator.

pWz2u4bPcu.png

Type "telnet IP port". For example, to test if Port 17195 is opened in the network in China VPN server. "telnet 114.115.203.209 17195" should be typed in the screen.

qADCKoU5kk.png

Type "Enter" in keyboard and show the following screen, which means Port 17195 is opened.

1732851254941-912.png