Hello everyone,
We have currently implemented a simple centos vm that will just collect and send traffic for 1514-1515/tcp and syslogs to the Wazuh manager that is running in a remote environment.
Basically it acts as a forwarder / shipper for all the onprem agents, so that there is no need to have lots of connections passing the firewall to deal with.
Also, for remote branches its easier to manage the setup, since the forwarder will open a single vpn tunnel to the Wazuh manager, so everything is done through "one wire".
In behind there is a Haproxy that is dealing the 1514-1515 traffic, whilst rRyslogd is doing the syslogs forwarding. Agents source ip addreses are kept intact. ( only syslogs will need a bit of decoding since the source ips are withing the message payload)
So far, the only downside we've met is that at the time of agent registration, the forwarder box ip address needs to be specified instead of the Wazuh manager ip address.
For other setups where there is no local Wazuh manager this may also be very handy and flexible.
My questions are:
Is there an official setup of this type of forwarder / shipper ? (as an example, Alienvault does provide a "sensor" for type of architectures. )
Did anyone configured something similar ?
Would there be any other downsides by using this setup ? The benefits I guess are obvious by different perspectives..
If everything would be good with this setup, we may go ahead and dockerise this for a quick deployment of the "wazuh-forwarder" ( even to include suricata with a port directly connected to a mirrored port of the location's main gateway )
Please let me know you thoughts.
Thank you,
Leo David