Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7 - SSD

No change in size, 08:16, 16 June 2016
no edit summary
<table width="100%" cellpadding="10" cellspacing="0" border="1">
<tr>
<td width="4045%">'''iptables -A INPUT -p tcp -s 192.168.0.0/24 -sport 22 -j ACCEPT'''</td><td>Append policy to bottom of INPUT chain to ACCEPT tcp packets from IP Address 192.168.0.0 from communication port 22</td>
</tr><tr>
<td>'''iptables -A OUTPUT -p tcp -d 192.168.0.138/24 -dport 80 -j REJECT'''</td><td>Append policy to bottom of OUTPUT chain to REJECT tcp packets to IP Address 192.168.0.138 via communication port 80</td>
13,420
edits