range ports

19 views
Skip to first unread message

A Bobrov

unread,
Dec 25, 2025, 9:35:09 AM (18 hours ago) Dec 25
to Wazuh | Mailing List
Hello to all Wazuh users and administrators!!!

Is it possible to specify a range of ports in the ossec.conf configuration file?
<ossec_config>
<ossec_config>
  <remote>
    <port>1514</port> <!-- Default is fine, but you can change it -->
    <protocol>secure</protocol> <!-- secure (UDP/TCP) or syslog (UDP/TCP) -->
    <allowed-ips>any</allowed-ips> <!-- Or specific IPs -->
  </remote>
</ossec_config>

in the
<port>1514</port>
parameter, specify a range of ports, not just one, for example
<port>1514-1520</port>
Thank you!!!

Md. Nazmur Sakib

unread,
2:08 AM (1 hour ago) 2:08 AM
to Wazuh | Mailing List

Hello

You cannot use multiple ports in the </port> section of the  <remote> block.

<ossec_config>

  <remote>

    <port>1514</port>

https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/remote.html#port

Can you share why you want to use multiple ports, so that I can share a possible alternative?

Looking forward to your update.
Reply all
Reply to author
Forward
0 new messages