See the MAN page for <code>iptables</code> for detailed information on switches and options.}}
2. * Set the default policy for the INPUT chain to DROP:** <code>iptables -P INPUT DROP</code>
'''iptables {{Admon/note| |The <code>-P </code> switch stands for POLICY. This tells <code>iptables</code> that we are changing the policy for the INPUT chain. The policy is to be changed to DROP'''.
The -P switch stands for POLICY. This tells ip tables that we are changing the policy for the INPUT chain. The policy is to be changed to DROP. Note that <code>iptables </code> commands (as well as all other Linux commands) are case sensitive. Check your syntax carefully.}}
3. Now try on your own to change the default policies for the OUPUT and FORWARD chains to DROP