To configure OPC communication to pass through a firewall, you must open a port for DCOM communication and provide application exceptions.
Configuration Procedure for Windows firewall (see below for hardware firewalls):
DCOM will only require enabling the above ports to establish communication. DCOM will find these ports automatically. This method will only work with Win
DCOM can also be configured to pass information across static (or fixed) ports so it can work well with external or hardware firewalls. In this case, only 2 ports will be necessary.
OPCTI's Level 2: OPC Security and Level 4: Advanced OPC Projects cover this configuration extensively. For automated firewall configuration, refer to OPC Expert.