Technical Tip: Modify Collectors' default listening port numbers used by FortiSIEM to ingest logs through the syslog protocol
| Description | This article describes how to configure custom listening ports on a Collector to receive logs through the syslog protocol. |
| Scope | FortiSIEM |
| Solution | Open a console or SSH connection to a Collector and follow these steps:
# FSM internal parameter; FSM overwrites listen_port_list=514,6100 #external,internal. Don't change the order and number of this list w/o understanding. # FSM internal parameter; FSM overwrites listen_tcp_port_list=514,1470 # FSM upgrade preserves customer changes to parameter value listen_tcp_timeout=60 # FSM internal parameter; FSM overwrites listen_tls_port_list=6514
For example, to use 5014 UDP and 5015 UDP as listening ports, use the following configuration:
listen_port_list=5014,5015
Start FortiSIEM services:
phtools --start all
Check if FortiSIEM services are up and running using the command phstatus. No process should appear in a DOWN state.
netstat -an | grep <custom port>
firewall-cmd --permanent --add-port=<port-number>/<tcp/udp> firewall-cmd --reload
|

