When you need to shoot down small rockets and mortars, C-RAM is there:
[youtube V2004nrHxa0]
The Counter Rocket And Mortar Protection System is a modification of the naval Phalanx Close In Weapons System. Both use basically the same 20mm M-61 Vulcan gatling gun and turret to shoot about 6,000 rounds per minute of depleted uranium or tungsten sabot rounds. in the case of the C-RAM, since it’s shooting over ground and over the heads of friendlies and civilians, the rounds detonate in flight if they miss the target, turning themselves into little bits that will not hit the ground nearly as fast as an intact projectile.
[youtube euwf6TA9dIc]
A 20mm round is of course quite sufficient to take out virtually any projectile likely to be lobbed at you. But when you want to send a message, you use the Goalkeeper. Same basic idea as CIWS/C-RAM, but with the 30mm GAU-8a gun used on the A-10 Warthog.
[youtube SGrJnxdDbO8]
WANT.