Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

157 bytes added, 19:01, 4 May 2015
no edit summary
# For the remainder of this section, use your '''c7host''' machine.
# As root on the CentOS host enter the following commands at the prompt:
#* : <b><code><span style="color:#3366CC;font-size:1.2em;">iptables -FL</span></code> (This flushes out or clears all of your rules from the chains)</b>#* : <b><code><span style="color:#3366CC;font-size:1.2em;">iptables -LF</span></code></b># What did those commands issued above do? Refer to the ''manpages'' for ''iptables'' if not certain.
# You should see something similar to this:<br /><br />Chain INPUT (policy ACCEPT)<br /><br />target prot opt source destination<br /><br />Chain FORWARD (policy ACCEPT)<br /><br />target prot opt source destination<br /><br />Chain OUTPUT (policy ACCEPT)<br /><br />target prot opt source destination<br /><br />
# Set the default policy for the INPUT chain to DROP:
13,420
edits