If a ping returns this error message during debugging, the router's firewall is probably blocking the ICMP packets.
Add a new firewall rule on the Network → Firewall / NAT page with the following settings:
Packet direction: OUTPUT
IP version: Alle
Protocol: ICMP
Output interface: select the required interface