in reply to Ping and Linux firewall

A quick reading of Net::Ping shows it uses tcp by default, whereas your ping command likely used icmp. You can tell Net::Ping to use icmp. See the synopsis.

Dum Spiro Spero