13,420
edits
Changes
no edit summary
'''Answer Part 1 observations / questions in your lab log book.'''
[[Image:new_network_dialog.png|right|thumb|250px|Although the private network has been setup via the '''Virtual Machine Manager''', each virtual machine requires to change its own network setting individually (either '''graphically''' or by '''command line''').]]
# Start '''centos2''' VM and login
'''Answer Part 2 observations / questions in your lab log book.'''
{| width="40%" align="right" cellpadding="10"
|- valign="top"
'''Answer Part 3 observations / questions in your lab log book.'''
# Start '''centos3''' VM and login as root
'''Answer Part 4 observations / questions in your lab log book.'''
{| width="40%" align="right" cellpadding="10"
|- valign="top"
'''Answer Part 1 observations / questions in your lab log book.'''
{{Admon/note | Use your CentOS Host | Complete this investigation on your CentOS host.}}
'''Answer Part 2 observations / questions in your lab log book.'''
{{Admon/note | Use All Machines | Complete this investigation on all of your VM's and the CentOS host.}}
'''Answer Part 3 observations / questions in your lab log book.'''
{{Admon/note | Chain Policies | Each chain has a default policy. In my example here the default policy is ACCEPT. This means that if data packets are checked and there is no rule that matches that packet in the chain the data will be allowed to pass to it's destination. Conversely, if the policy is set to DROP then the packet will be dropped if there is no match. Flushing the table (<code>iptables -F</code>) when an ACCEPT policy is in place will cause all packets to be accepted; flushing the table when an DENY policy is in place will cause all packets to be dropped.}}
# Execute the command <code>iptables -L</code> and check that the policies on your INPUT and OUTPUT chain are set to DROP
}}
# Using the information you have learned, try on your own to achieve the same goal as above (block www access to your computer) by using the INPUT chain instead of the OUTPUT chain.
== Completing the lab ==
Arrange proof of the following on the screen: