> Source: https://docs.cyberelements.io/bastion/4.7/hr/Installation/Dependencies/PostgreSQLCluster/Operation/PsqlPatroniConfigurationUpdate/

# Modifying the configuration of `Patroni`

To configure certain elements of the PostgreSQL cluster, including the IP addresses and networks authorised to connect to the cluster defined at the level of `Patroni`, please use the following command:

```
1
```

After saving, the new configuration will be applied to all nodes in the PostgreSQL cluster.

> **Local firewall**
>
> The local firewall of the nodes only accepts connections on port `5432` from the addresses entered in the configuration utility. To authorise a new client, also add its address to the `/etc/nftables.conf` file of each node: see [Configuring the appliance firewall](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Dependencies/PostgreSQLCluster/Operation/PsqlFirewallUpdates/).
