Gå till innehållet

Configuring the appliance firewall

The virtual appliance uses the nftables firewall.

Information

Once the appliance is installed, there are no direct dependencies on nftables use. Therefore, you can replace this firewall with one of your choice.

If changes to the PostgreSQL node's firewall configuration are necessary, you will need to modify the /etc/nftables.conf configuration file.
The configuration format is documented on the nftables wiki.

After modifying the configuration, reload the new configuration with the following command:

1
systemctl reload nftables

Information

The reload starts by emptying the rules (flush ruleset): the connections between the nodes are reset and etcd elects its leader again, which takes a few seconds.

Recommendation

The security hardening guide details the local firewall rules recommended for the CyberElements Bastion servers: see Local firewall.