Scenario: 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.
Firewallrules/Portfilter settings
You must configure following rules for incoming connections to your TwinCAT Runtime to establish the ADS communication:
Direction | Port(dec) | Port(hex) | Protocol | Action |
---|---|---|---|---|
Incoming | 48898 | 0xBF02 | TCP | Allow |
Incoming | 48899 | 0xBF03 | UDP | Allow |