13,420
edits
Changes
no edit summary
'''Examples:'''
<table width="6090%" cellpadding="10" cellspacing="0" border="1">
<tr>
<td width="30%">'''iptables -P INPUT DROP'''</td><td>Set default policy to drop all incoming connections for ALL protocols, ALL communication ports, ALL IP addresses</td>
'''Examples:'''
<table width="10090%" cellpadding="10" cellspacing="0" border="1">
<tr>
<td width="30%">'''iptables -A INPUT -p tcp --sport 80 -j ACCEPT'''</td><td>Append policy to bottom of INPUT chain to accept all tcp packets from port 80</td>