ADS connection through a firewall

This example is used to describe how an ADS device (e.g. TwinCAT Engineering PC, third-party Scada systems etc...) can communicate with a TwinCAT Runtime through a firewall.

ADS connection through a firewall 1:

Firewallrules/Portfilter settings

You have to configure following rules for incoming connections to your TwinCAT Runtime to establish the ADS communication:

Direction

Local Port

Remote Port

Protocol

Action

Usage

Incoming

48898

*

TCP

Allow

Communication

Incoming

48899

*

UDP

Allow

Broadcast search

Incoming

8016

*

TCP

Allow

Secure ADS