• Download
  • Products
    • Product Highlights
      • DataHub Smart MQTT Broker
      • DataHub IoT Gateway
      • DataHub OPC Gateway
      • DataHub service for Azure
      • DataHub OPC Bridge
      • OPC DataHub
      • DataHub WebView
      • DataHub Modbus OPC Server
    • Tunnellers
      • DataHub UA Tunneller
      • DataHub DA Tunneller
      • DataHub Tunnel A&E
      • DataHub Modbus Tunneller
      • DataHub DDE Tunneller
      • Individual Features
        • Redundancy
        • Data Diode Mode
        • Monitoring
    • Historians
      • Connect to InfluxDB
      • Connect to Amazon Kinesis
      • Connect to AVEVA Historian
      • Connect to AVEVA Insight
      • Connect to AVEVA PI
      • Connect to RESTful Systems
      • Connect to Kafka
      • Connect to ODBC
      • Connect to Azure Event Hubs
      • Connect to OPC Classic HDA
    • Notifications
      • Alarm and Notification
      • Email / SMS
      • OPC A&E support
      • OPC UA A&C support
    • Excel and DDE
      • DataHub Add-In
        for Microsoft Excel
      • DDE / Excel
    • Loggers
      • DataHub OPC Logger
      • DataHub Modbus Logger
  • Purchasing
    • How to Purchase
    • Request a Quote
    • Feature Matrix
    • Software Subscription Plan
    • Maintenance Support Plan
    • Educational Program
  • Learning Hub
    • Industries & Use Cases
      • Wind & Solar
      • Conventional Energy
      • Oil & Gas
      • Minerals & Mining
      • Manufacturing
      • Food & Beverage
      • Pharma & Healthcare
      • System Integration
      • Machines & Tools
    • Knowledge Center
      • Videos
      • Webinars
      • How-To
      • Case Studies
      • White Papers
      • Essential Guides
        • MQTT & Sparkplug Essentials
        • DataHub Security Essentials
    • Connecting
      • Industrial AI
      • Industrial IoT
      • Secure OT to IT
      • OPC
      • Historian
      • MQTT
        • Sparkplug
      • Database
      • Modbus
      • Excel
      • Web
      • Embedded
      • Open APIs
      • DHTP
      • Architecture
  • Support
    • FAQ
    • Documentation
    • Release Notes
    • Technical Specifications
  • About
    • Partners
    • Customers
    • Testimonials
    • Privacy Policy
    • Terms of Use
    • Legal Notices
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
  • Download
  • Products
    • DataHub Smart MQTT Broker
    • DataHub IoT Gateway
    • DataHub OPC Gateway
    • DataHub service for Azure
    • DataHub OPC Bridge
    • OPC DataHub
    • DataHub WebView
    • DataHub Modbus OPC Server
    • Tunnellers
      • DataHub UA Tunneller
      • DataHub DA Tunneller
      • Tunnel A&E
      • DataHub Modbus Tunneller
      • DataHub DDE Tunneller
    • Historians
      • Connect to InfluxDB
      • Connect to Amazon Kinesis
      • Connect to AVEVA Historian
      • Connect to AVEVA Insight
      • Connect to AVEVA PI
      • Connect to RESTful Systems
      • Connect to Kafka
      • Connect to Azure Event Hubs
      • Connect to ODBC
      • Connect to OPC Classic HDA
    • Notifications
      • Alarm and Notification
      • Email / SMS
      • OPC A&E support
      • OPC UA A&C support
    • Excel and DDE
      • DataHub Add-in for Microsoft Excel
      • DDE / Excel
    • Loggers
      • DataHub OPC Logger
      • DataHub Modbus Logger
      • Monitoring
    • Individual Features
      • Redundancy
      • Data Diode Mode
      • Monitoring
  • Purchasing
    • How to Purchase
    • Request a Quote
    • Feature Matrix
    • Software Subscription Plan
    • Maintenance Support Plan
    • Educational Program
  • Learning Hub
    • Industries & Use Cases
      • Wind and Solar
      • Conventional Energy
      • Oil & Gas
      • Minerals & Mining
      • Manufacturing
      • Food and Beverage
      • Pharma and Healthcare
      • System Integration
      • Machines and Tools
    • Knowledge Center
      • Videos
      • Webinars
      • How-to
      • Case Studies
      • White Papers
    • Essential Guides
      • MQTT and Sparkplug Essentials
      • DataHub Security Essentials
    • Connecting
      • Industrial AI
      • Industrial IoT
      • Secure OT to IT
      • OPC
      • Historian
      • MQTT
        • Sparkplug
      • Database
      • Modbus
      • Excel
      • Web
      • Embedded
      • Open APIs
      • DHTP
      • Architecture
  • Support
    • FAQ
    • Documentation
    • Release Notes
    • Technical Specifications
  • About
    • Partners
    • Customers
    • Testimonials
    • Privacy Policy
    • Terms of Use
    • Legal Notices

How to tunnel OPC DA – outbound

國語 中文
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-chi-chinese.mp4
English
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-eng.mp4
Français
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-fre-french.mp4
Deutsch
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-ger-german.mp4
日本語
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-jap-japanese.mp4
Español
https://cogentdatahub.com/media/video/datahub-opc-da-tunnel-out-spa-spanish.mp4

No access to YouTube? Click here to view locally

Summary

  1. Download and install Cogent DataHub software on the OPC  server and OPC client machines.
  2. On the OPC client side, configure the DataHub to act as a tunnelling Master.
  3. Switch to the OPC server side, and connect that DataHub to the OPC server.
  4. Then configure it so act as a tunnelling Slave, connected to the DataHub on the OPC client side.
  5. Configure the DataHub on the OPC client side to act as an OPC server.
  6. Connect your OPC client.

For more details and options, see the documentation.

DataHub product used: DataHub DA Tunneller

Transcript

  1. How to tunnel OPC DA outboutnd, that is by connecting outbound through a firewall from the OPC server to the OPC client.
  2. First download and install Cogent DataHub software on both the server and client computers.
  3. We will start with the DataHub instance on the OPC DA client machine by configuring it as a Tunnel Master.
  4. On the OPC client computer, start the DataHub, and from the Properties window,, select the Tunnel/Mirror option. Make sure “Accept plain-text connections” is configured for port 4502. That port must be opened on this computer to make the connection, but no firewall ports need to be open on the OPC server computer.  Click Apply.
  5. In the Properties window select Security and then click the Configure button.
  6. Under Users, click the Add button to add a Built-In User.
  7. Enter a username and password.
  8. Uncheck the Require TOTP Authentication box because this is a non-interactive connection.  Then click OK.
  9. In the Roles, check the All Data Full Access box.  Then click OK. The OPC client side is now configured as the Tunnel Master.
  10. Next we will connect to the OPC DA server on the OPC server computer.  Switch to that computer.
  11. On the OPC server computer, start the DataHub, and from the Properties window, select the OPC DA option and click the Add button.
  12. Choose an OPC server.
  13. Set a maximum update of 100 milliseconds for now.
  14. Leave the other options at the default settings.
  15. Manually select the points you want to connect to.
  16. Or choose Load All Items on Server.
  17. Click OK and Apply.
  18. Click View Data to see your data in the Data Browser.  You are now connected to the OPC DA server.
  19. Now we will connect the tunnel outbound through the firewall from the DataHub on this computer to the DataHub on the OPC client computer.
  20. Still on the OPC server computer, select the Tunnel/Mirror option. Make sure the Act as a tunnel/mirror slave option is checked, because this DataHub instance is the tunnel slave. Then click the Add Master button to add a tunnel master.
  21. Enter the IP address or computer name for the primary host., the tunnel Master, which is the OPC client computer where the other DataHub instance is running.
  22. For now, keep the local data domain here on the Slave as default, the same as the remote data domain on the Master.
  23. Enter the username and password for the networked user that you created on the Master.
  24. For the Data Flow Direction, choose “Read-write” to send data and receive data, or “Write-only” to just send data to the OPC client.  Don’t choose “Read-only” because you will be writing data to the Master from the OPC server,
  25. When the connection is initiated, when it first starts, you want to override the OPC client values with the Slave’s values, the OPC server data.  So choose the Override option.
  26. When the connection is lost, you want to mark the data quality for all points over there on the Master as “Not Connected”.  So choose that option.
  27. You can ignore the rest of the options for now.  Click OK and Apply.
  28. Now switch back to the OPC client computer.
  29. On the OPC client computer, click View Data to see the data, coming across the tunnel from the OPC server. The data is now updating here on this DataHub instance..
  30. For the final step, we will connect the OPC DA client.
  31. In the DataHub Properties window on the OPC client machine, select OPC DA and check the box for Act as an OPC Server.  Then click Apply.
  32. In your OPC client, connect to the OPC server named Cogent.DataHub.1.  Add a group, then select your items.
  33. Now you are connected.  OPC server data is being sent via an outbound connection, tunnelled through the firewall and across the network to the OPC DA client.

Background

Networking OPC DA requires DCOM, which is difficult to configure and not very secure. Learning how to tunnel OPC DA inbound, you can bypass DCOM altogether. The tunnel recovers quickly from network outages, and keeps all OPC servers and clients connected during that time.

Skkynet provides Cogent DataHub secure-by-design software and services to let you acquire, aggregate, monitor, control visualize, and network live process data in-plant or over insecure external networks, making it ideal for OT to IT and cloud connections.  You can isolate control networks from cyber attacks and integrate industrial data under a unified namespace, all without compromising the plant.

Cogent DataHub products wheel diagram

How-to Videos


Basic Connections:

Connect to an OPC UA server
Connect to an OPC DA server
Connect an OPC UA client
Connect an OPC DA client
Connect an MQTT client
Connect to an MQTT broker

Protocol Conversions:

Convert OPC DA to OPC UA
Convert OPC UA to OPC DA
Convert OPC DA to MQTT
Convert OPC UA to MQTT
Convert MQTT to OPC DA
Convert MQTT to OPC UA

Tunnelling:

Tunnel OPC UA – outbound
Tunnel OPC DA – outbound
Tunnel OPC DA – inbound

Advanced:

Use a DataHub script
Configure Redundancy
Connect time-series data to ODBC

Connect through a Data Diode:

Connect OPC UA thru Data Diode
Connect OPC DA thru Data Diode
Connect MQTT thru Data Diode to Client
Connect MQTT thru Data Diode to Cloud

Connect through a DMZ:

Connect OPC UA thru DMZ
Connect OPC DA thru DMZ
Connect MQTT thru DMZ
Cogent DataHub footer logo white
  • Download
  • Products
  • Purchasing
  • Learning Hub
  • Support
  • About
  • Back to Top
  • LinkedIn iconTwitter iconYouTube icon

Skkynet
302-2233 Argentia Road
Mississauga, ON L5N 2X7

International: 1-905-702-7851
US toll free: 1-888-702-7851

[email protected]
[email protected]
[email protected]
[email protected]

© 2026 Skkynet | All rights reserved | Legal notices
Scroll to top Scroll to top Scroll to top

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Cogent DataHub Logo
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

Cookie Policy

More information about our Cookie Policy