Scout Enterprise Management Suite

Firewall for eLux devices

To secure your eLux devices with a firewall, for example to allow exactly one more connection besides the connection to the Scout Server, use the eLux Firewall support package, which allows you to define appropriate rules.

By default, nftables are used.Alternatively, the iptables syntax can be used.

Once the eLux Firewall support package is installed, the firewall rules are applied on system start.By default, only data packets that are required for communication with the Scout Server are allowed to pass.To allow further connections, define filtering rules and transfer them to the devices in a file.

If the Firewall support package has been installed on the device without filtering rules, the firewall will only start if the feature package Strict firewall policy is installed.Then communication between the Scout Server and the device is established via the management protocol (port 22125) and no other communication is allowed.

Configuring firewall rules (nftables)

Note:

The eLux package Firewall support and the included feature packages eLux firewall plugin and firewall nftables programs and libraries must be installed on the devices.This may require modifications of the image definition file on the web server via ELIAS.

  1. Create the nftables.conf file according to the following example:

    table ip filter {chain input {tcp dport 22 accepttcp sport 80 accept}chain output {tcp sport 22 accepttcp dport 80 accept}}
    

    In the example, outgoing http and incoming ssh connections are accepted.

  2. Transfer the files to the devices to /setup/firewall/nftables.conf.To do so, use the Scout feature Files configured for transfer. For further information, see in the Scout guide.

Configuring firewall rules (iptables)

Note:

The eLux package [Firewall support] and the included feature packages [eLux firewall plugin] and [Firewall iptables compatibility programs and libraries] must be installed on the [devices].This may require modifications of the image definition file on the web server via ELIAS.

  1. Create the file rules.v4 for IPV4 or rules.v6 for IPV6.Use the iptables syntax for the rules.

  2. Transfer the files to the devices to /setup/firewall/rules.v4 or /setup/firewall/rules.v6, respectively.To do so, use the Scout feature [Files configured for transfer].
    For further information, see in the Scout guide.

All rule files are included in the Diagnostics feature and are part of the System template.

Firewall for eLux devices