Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7 - SSD

2 bytes added, 07:57, 16 June 2016
no edit summary
'''Examples:'''
<table width="90100%" 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="90100%" 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

Navigation menu