Set Up the Firewall for Remote OPC Servers

If Firewall security is enabled you may need to modify or add items to the Exceptions list.

GE recommends that you enter these settings on the local machine running the OPC Client, as well as on the remote machine that has the OPC server you want to use.

To modify Windows Firewall settings:

  1. Log into the Windows operating system with an Administrator account.
  2. Open the Control Panel and double-click Windows Firewall. The Windows Firewall dialog box appears. Make sure the "Allow a program through Windows firewall" option is selected.
  3. Click the Exceptions tab and make sure that the File and Printer Sharing check box is selected. The following figure shows an example of this dialog box in Microsoft Windows XP.

  1. Click the Add Port button. The Add a Port dialog box appears. The following figure shows an example of this dialog box in Microsoft Windows XP.

  1. In the Name field, enter a name for the port.
  2. In the Port Number field enter 135.
  3. Select the TCP option.
  4. Click OK to save your changes.

The port name you entered is now listed with its check box selected.

  1. Select the Add Program button. The Add a Program dialog box appears. The following figure shows an example of this dialog box in Microsoft Windows XP.

  1. Click the Browse button. A Browse dialog box appears.

  1. Navigate to the System32 folder. This folder is found under the operating system folder (usually Windows or WINNT).
  2. In the System32 folder, select the OPCENUM.exe file, and then click the Open button.

In the Add a Program dialog box the path field displays the full path to, and including, the OPCENUM.exe file.

  1. Click OK.

OPCENUM.exe should now be listed in the Exceptions list with its check box selected.

  1. Complete steps 9-13 for each OPC server that you want to access.

NOTES:

  • You must also add the GE OPC Client driver by adding the file OPCDrv.exe into the Exceptions list.
  • If any OPC server that you want to use is a dll surrogate (an in-process dll and not an .exe), you must add \system32\dllhost.exe into the Exceptions list.
  • OPCENUM must reside on the remote machine with the OPC server. While most OPC Server applications install and register this file, some do not. You can download this file from www.opcfoundation.org. Currently it is contained within the OPC Core Components 2.00 Redistributable 2.30.msi file. After you download OPCENUM, run the .msi file.

 

See Also