Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7 - SSD

1 byte removed, 06:56, 16 June 2016
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>
13,420
edits