Chapter 7: Adding Firewalls

The next task after installation of InControl is usually adding on or more NetWall devices (either physical or virtual) so that they come under InControl management. This can be done in one of two ways:

Manually adding a firewall consists of the following key steps:

  1. Log in as an administrator to cOS Core and create a Pre-Shared Key (PSK) object that defines the hexadecimal key that InControl will use for access. Then, define a Remote Management object to allow InControl access and that uses the Pre-Shared Key object. These tasks are described fully in the previous Chapter 6, Preparing cOS Core.

  2. Open the InControl client and add the NetWall device, including the key from the Pre-Shared Key object created in the previous step. This rest of this chapter described this second step in detail.

To add a firewall to InControl using the InControl client, press the Firewalls button in the main ribbon toolbar.

This opens the Firewalls tab in the client's central panel.

Before any firewalls are added, the tab contains only the Global Domain which is the parent for all sub-domains or devices. The Global Domain has its own set of configuration values which can be applied to all of its children.

[Tip] Tip: Only add to the Global Domain when necessary

For the fastest InControl response times, only keep objects in the Global Domain when necessary. If an object is only used in one firewall, keep the object just in that firewall's configuration.

Above the tab, is a new toolbar for firewall specific operations. Press the plus button followed by selecting the Firewall option in the menu to add the new device.

Alternatively, this step could be done by right-clicking the Global domain node in the Firewalls tab and choosing Firewall from the Create menu.

The New Firewall dialog will now appear and the properties of the firewall can be entered. In this example, the new device will be called My_FW.

The name, IP address and secret key of the device is entered along with a comment. The new device doesn't need to be online at this point but it is more straightforward if it is so that any failure to connect can be seen immediately. Note that the name of the device can only be changed later using the CLI console command set Device Name=. InControl will then automatically update its interface.

The default parent for a new device is the Global Domain but it could be any subdomain that has been previously defined.

[Tip] Tip

To move between sections of the IP address field, use the right and left arrow keys.

By clicking the icon next to the IP address field, it is possible to instead enter a URL for the firewall.

If the firewall is being added using Device Initiated Netcon (the firewall initiates the addition) then the Firewall Initiated option (shown below) should be selected and the Remote Management ID that is specified in the corresponding Remote Management object in cOS Core should be used instead of the IP address. This is discussed further in the previous Chapter 6, Preparing cOS Core.

The Secret Key is the hexadecimal Netcon key required by cOS Core for communication with InControl (Netcon is a secured Clavister proprietary protocol). This key must be the same value as the Passphrase property of the Pre-Shared Key object in cOS Core which is used with the Remote Management object that allows InControl control. Obtaining this key is explained further in Appendix B, Netcon Key Generation.

When the key is obtained, it should be copied to the Windows system clipboard and then pasted into the secret key field of the new firewall dialog.

After completing the dialog and adding the new device, it will appear in the Firewalls tab under its parent domain. The global domain will be the parent if no other domain is specified in the new firewall dialog.

Note that if a new device is added and it does not have a valid license, this will be indicated by an alarm appearing.

How Device Naming Works with InControl

When a firewall is first added to InControl, it is given a device name. In the example above, the name My_GW was used. The firewall will previously have a name assigned to it (the default name is System) but the name assigned in InControl when a device is first added will overwrite the old name in the firewall's configuration.

However, if after adding a firewall to InControl, the device name is later changed directly on the firewall (outside of InControl) then this new name will overwrite the name in the InControl database.

Potential InControl and cOS Core Version Mismatches are Flagged

Usually, a release of cOS Core coincides with a release of InControl and it is recommended to always update both together because an older version of InControl might not be compatible with all the features in a later cOS Core release. If InControl detects that there may be such a mismatch then a yellow warning icon is displayed next to the firewall as shown below. However, this is only a warning to check if there is a later version of InControl to upgrade to. In certain instances this icon can appear but there may be no newer InControl version available.

Binding a License

As explained in Chapter 13, Licensing there are a number of licensing options for InControl usage.

Editing the Configuration

By double clicking the new firewall, the object navigation tree opens as a new tab in the central part of the InControl interface.

The tab title text in the example above is My_FW - Revision 30:5. The numbers "30:5" represent the number of times this firewall's configuration has been edited via InControl and non-InControl means. The number to the left of the colon is the number of times the configuration has been edited by non-InControl means. The number on the right is the number of times it has been edited using InControl.

The navigation tree to the left of the tab shows the object hierarchy of the configuration. This will be structured differently between a cOS Core version and an earlier CorePlus version.

[Note] Note: InControl must parse a configuration on initial opens

The very first time an added firewall's configuration is opened and read by InControl, there will be a brief delay while the configuration is parsed and loaded into the server database. The delay will depend on the processor speed of the InControl server. Subsequent opens will not have this delay.

Key Aspects of Configurations

The key configuration areas for the firewall now accessible through the firewall tab or the tree in the Navigation panel are:

All of the above features are fully described further in the cOS Core Administrators Guide. An example of editing a configuration is described later in Chapter 10, Editing Configurations.

Deleting Devices

If a device is to be deleted then this can be done by right-clicking it and choosing Delete from the context menu.

A confirmation dialog is displayed before the delete is finalized.

It is important to be certain about wanting to delete the firewall since there is no undelete following confirmation.

Switching from Online to Offline

In the properties dialog for a firewall, the administrator has the option to have the device either Online or Offline. These states can be set either when a firewall is added to InControl or they can be changed after a firewall is added. These states are defined as follows:

Switching Back to Online from Offline

If the administrator changes the firewall status from Offline back to Online, the following will happen: