Before following the steps below, make sure you have installed LabVIEW , LabVIEW OPC UA Toolkit and PuTTY (it will be used as the tunneling application).
- Run the LabVIEW OPC UA server* in PC A and get the OPC UA URL endpoint. The endpoint URL is in the format opc.tcp://<PC_A_IP-Address>:<port A> where <PC_A_IP-Address> is the IP address of the computer where the OPC UA server is hosted and <port A> is the port of the OPC UA server.
- In PC B, open PuTTY and create an SSH session with PC A.
The PC_A_User is the user required to access PC A.
- Configure a tunnel using the Tunnel tab inside the SSH section. Click Add after configuring the Source port and the Destination.
The Source port (Port B) is the port that will be used to communicate with PC A from PC B.
- Run the LabVIEW OPC UA client in PC B with the following endpoint URL: opc.tcp://localhost:<port B>
*Note: LabVIEW OPC UA server represents a third-party server in this tutorial.