Hi Adiel
By default, the agent is installed in such a way that it can be recognized from any IP, as it is recognized by its client key
To check that the value is the default, inside the /var/ossec/etc/ossec.conf file in Wazuh Manager, you have the following tag
<ossec_config>
...
<auth>
...
<use_source_ip> no </use_source_ip>
...
</auth>
...
The use_source_ip tag toggles the use of the client’s source IP address or the use of “any” to add an agent.
In case you already have an agent installation with fixed IP, the file /var/ossec/etc/client.keys stores the data of the clients registered within Wazuh Manager
The third column of this file contains the IP or range set for the agent
001 Server1 any e20e0394dca71bacdea57d4ca25d203f836eca12eeca1ec150c2e5f4309a653a
This value can be set as anything, with an IP or with a range
Regards