iptables(8) -P INPUT DROP
administration tool for IPv4 packet filtering and NAT
-P, --policy chain target
       Set the policy for the chain to the given target.  See the section TARGETS for the legal  targets.
       Only  built-in  (non-user-defined) chains can have policies, and neither built-in nor user-defined
       chains can be policy targets.
source manpages: iptables