PTA - no incoming syslogs are received or processed in PTA v15 or above
Symptom
When configuring the Vault or a SIEM to forward syslog data to the Privileged Threat Analytics (PTA) server over TCP/UDP port 514, the PTA server does not receive or process the inbound activity. Network connectivity tests indicate that TCP port 514 on the PTA server is closed or unreachable.
Environment
15.0 Privileged Access Manager (PAM, self-hosted) PTA
Cause
From PTA v15, by default, the internal Linux firewall (firewalld) on the PTA appliance blocks inbound traffic on ports that have not been explicitly whitelisted. To allow the Vault or SIEM to stream syslog data over TCP, the firewall policy must be updated to open TCP port 514.
The original requirement for inbound and authorized host settings is also required:
https://docs.cyberark.com/pam-self-hosted/latest/en/content/pta/systemparm-properties.htm#syslog_i
Resolution
To open TCP port 514 and allow inbound syslog traffic to reach the PTA, execute firewall-cmd via an SSH session on the PTA server using root or a user with sudo privileges.
Here is the example for the required port:
- Log in to the PTA machine via SSH.
- Open TCP port 514 permanently in the public firewall zone by running the following command:
firewall-cmd --permanent --add-port=514/tcp --zone=public
** Change the port and protocol if using a different port for the communication. - Reload the firewall policy to apply the changes immediately without restarting the firewall service:
firewall-cmd --reload - (Optional) Verify the configuration to ensure the port is successfully opened:
firewall-cmd --zone=public --list-ports
For the port forwarding used between PVWA and PTA, here is the reference to set up the port forwarding:
https://community.cyberark.com/s/article/PTA-15-not-connecting-to-PVWA