so-allow not allowing 1514 for Wazuh agent #1638
-
When running so-allow to allow a subnet for wazuh agent connectivity, the logs in the agent still indicate that 1514 is refused by the SO instance. Issuing iptables -L |grep 1514 returns nothing. Upon disabling firewalld, the agent can then connect. Please let me know if there is a workaround for this, or if this is a known issue. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 21 replies
-
What is the output of the following?
|
Beta Was this translation helpful? Give feedback.
-
I'm on 2.3.2 and having a similar problem with the registration port, 1515. Same issue, both 1515 and 1514 are not listed in the firewall with iptables -L | grep -E "151[4|5]". My so-firewall includedhosts wazuh_endpoint shows 10.0.0.0/8, which is accurate. I've confirmed with network pcaps the traffic is leaving my host, hitting my network firewall, and routed on to the SO box. But a tcpdump on SO shows no packets. |
Beta Was this translation helpful? Give feedback.
-
When running so-allow to allow a subnet for wazuh agent connectivity, the logs in the indicate that 1514 is activialy refused by the SO instance. Issuing iptables -L |grep 1514 returns nothing. Upon disabling firewalld, the agent can then connect. |
Beta Was this translation helpful? Give feedback.
-
iptables -nL |grep 1514 shows (redacted IP/Mask): ACCEPT tcp -- 0.0.0.0/0 172.17.0.9 tcp dpt:1514 The logs for the agent still shows connection refused. I do see resets in the tcpdump. The rule exists in the DOCKER USER Chain. |
Beta Was this translation helpful? Give feedback.
-
What version are you using? |
Beta Was this translation helpful? Give feedback.
I'm on 2.3.2 and having a similar problem with the registration port, 1515. Same issue, both 1515 and 1514 are not listed in the firewall with iptables -L | grep -E "151[4|5]". My so-firewall includedhosts wazuh_endpoint shows 10.0.0.0/8, which is accurate. I've confirmed with network pcaps the traffic is leaving my host, hitting my network firewall, and routed on to the SO box. But a tcpdump on SO shows no packets.