13,420
edits
Changes
no edit summary
<table width="100%" cellpadding="10" cellspacing="0" border="1">
<tr>
<td width="50%">'''iptables -A INPUT -p tcp -s 192.168.0.0/24 -sport 22 -j ACCEPT'''</td><td>Set default policy to drop all incoming connections for ALL protocols, ALL communication ports, ALL IP addresses</td>
</tr><tr>
<td>'''iptables -A OUTPUT -p tcp -d 192.168.0.0/24 -dport 80 -j REJECT'''</td><td>Set default policy to drop all outgoing connections for ALL protocols, ALL communication ports, ALL IP addresses</td>
</tr>
</table>
'''Perform the following steps:'''