Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7 - SSD

8 bytes added, 08:15, 16 June 2016
no edit summary
<table width="100%" cellpadding="10" cellspacing="0" border="1">
<tr>
<td width="40%">'''iptables -A INPUT -p tcp -s 192.168.0.0/24 -sport 22 -j ACCEPT'''</td><td>Set default Append policy to drop all incoming connections for ALL protocols, ALL bottom of INPUT chain to ACCEPT tcp packets from IP Address 192.168.0.0 from communication ports, ALL IP addressesport 22</td>
</tr><tr>
<td>'''iptables -A OUTPUT -p tcp -d 192.168.0.0138/24 -dport 80 -j REJECT'''</td><td>Set default Append policy to drop all outgoing connections for ALL protocols, ALL bottom of OUTPUT chain to REJECT tcp packets to IP Address 192.168.0.138 via communication ports, ALL IP addressesport 80</td>
</tr>
</table>
13,420
edits

Navigation menu