As shipped from the factory, a JACE-NXT has its Windows Firewall configured to block incoming network connections, save for a few program and service “exceptions.” Typically, each exception corresponds to one or more TCP/IP ports.
The following sections provide more details:
Depending on the drivers and features to be used on the station running on the JACE-NXT, you may need to make adjustments or additions to Windows Firewall exceptions. For example, if you changed the platform daemon port in the Platform Adminstration view (see HTTP Port), you will need to make the same change to the firewall exception named “admin.” Or, if you intend to use the drivers for either Modbus TCP or SNMP, you will need to make additions in order for those drivers to work.
The JACE-NXT has a batch file that you can edit and run to simplify making certain firewall changes. See optionalLockdown.bat.
Access the Windows Firewall in the JACE-NXT using the following procedure:
To access the Windows Firewall in a JACE-NXT
Logon as administrator to Windows XP running on the JACE-NXT, using either a Remote Desktop Connection or via a local console.
Click -> to open the Windows Control Panel.
Double-click the Windows Firewall applet to launch the Windows Firewall application.
It opens displaying the General tab, showing the firewall On (recommended).
Click the Exceptions tab, as shown in Figure 34. This is where you view or edit most settings.
See Table 1 for a listing of default Windows Firewall exceptions for a new JACE-NXT.
To see the configuration for any exception, click to highlight it, then click the button.
If you make changes to any exception, click to save and exit the dialog.
For related details, see the next two sections, Windows Firewall (port) defaults and optionalLockdown.bat.
Table 1 summarizes the factory-shipped Windows Firewall exceptions for a new JACE-NXT.
Table 1. Windows Firewall exceptions in a factory-shipped JACE-NXT
In addition, ICMP protocol “ping” requests are enabled, from all computers (on the Windows Firewall’s Advanced tab, this is under ICMP Settings, “allow incoming echo request”).
By default, both FTP and Telnet are disabled on a JACE-NXT, as each of these typically poses a significant security risk.
However, if needed, you can enable these using optionalLockdown.bat. Alternatively, you can also add and edit firewall exceptions directly using the Windows Firewall dialog of the Windows Control
Panel, as shown in Figure 34.
The JACE-NXT’s system drive (C:) has a directory named “lockdown.” It contains two files as shipped from the factory:
lockdown.bat
A batch file that can be run (after removing all firewall exceptions) to return the system to default firewall settings, matching all “as shipped” firewall exceptions. Usage is expected to be infrequent.
optionalLockdown.bat
A batch file which you can first edit and then execute to implement additional firewall exceptions, if needed. See the next section, To use the optionalLockdown.bat file on a JACE-NXT.
Updates to JACE-NXT lockdown batch files may occur. Check the Niagara Central portal for details.
To use the optionalLockdown.bat file on a JACE-NXT
Logon as administrator to Windows XP running on the JACE-NXT, using either a Remote Desktop Connection, or a local console.
Open a command prompt window.
To do this, click -> , type “cmd”, then click .
In the command window, navigate to the C:\lockdown directory.
To do this, type “cd C:\lockdown”, then press Enter. The prompt should now be: C:\lockdown>
Edit the file by typing “notepad optionalLockdown.bat” and pressing Enter.
The optionalLockdown.bat file opens in Notepad for editing. This batch file has several pre-edited command lines which have been commented out with the “rem” (remark) syntax.
In the Notepad window, cursor down to the line in the file which contains the appropriate firewall command line, and remove
the leading “rem” from that line.
Review all the firewall command lines to be sure only the ones which apply to this specific installation are uncommented.
All lines without the leading “rem” are valid command lines, and will result in a new exception being added to the Windows Firewall.
the file, and exit Notepad.
Run the optionalLockdown.bat batch file.
To do this, in the command window, type optionalLockdown and press Enter.
Commands in the batch file appear in the command window as they run, and any changes become immediately effective.
Close the command window and review the Windows Firewall settings. See To access the Windows Firewall in a JACE-NXT.
If a CompactFlash-based unit with EWF enabled for drive C (typical), you will need to commit any changes from the EWF overlay
(RAM) to flash. This requires EWF commands, including an orderly reboot. For related details, see Notes on EWF (Enhanced Write Filter) in Windows XPE.
Copyright © 2000-2016 Tridium Inc. All rights reserved.