A newly deployed firewall sits between a branch router and the central syslog collector. The router is configured with the collector's IP address and default syslog settings, but no messages arrive at the collector. Which firewall rule change is most likely required to let the log messages through?
- APermit inbound TCP port 22 from the router so the encrypted management session can reach the collector.
- BPermit TCP port 6514 from the router so the TLS-protected syslog stream can be established with the server.
- CPermit UDP port 161 from the router so the collector can poll the device for its log data.
- DPermit UDP port 514 from the router to the collector, because default syslog uses that transport and port. Correct
Why A is wrong: SSH on TCP port 22 secures a management session but carries no syslog data, so opening it would not deliver the router's log messages to the collector.
Why B is wrong: TCP port 6514 carries syslog only when TLS is explicitly configured; with the router on default settings it is not using that port, so this rule would not help.
Why C is wrong: UDP port 161 is used by an SNMP manager to poll agents, not by syslog, which is pushed from the device rather than polled by the collector.
Why D is correct: Syslog's default transport is connectionless UDP on port 514, so a firewall in the path must permit that flow for the messages to reach the collector.