Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS7

152 bytes removed, 12:15, 4 May 2015
no edit summary
'''Answer Part 1 observations / questions in your lab log book.'''
=== Part 2: Configuring VM Network Setup Graphically ('''system-config-network''')===
[[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.'''
=== Part 3: Backing up Only Recent File Changes ===
{| width="40%" align="right" cellpadding="10"
|- valign="top"
'''Answer Part 3 observations / questions in your lab log book.'''
=== Part 4: Configuring VM Network Setup via Command Line ('''centos3''') ===
# Start '''centos3''' VM and login as root
'''Answer Part 4 observations / questions in your lab log book.'''
==INVESTIGATION 2: CUSTOMIZING THE VIRTUAL NETWORKING ENVIRONMENT ==
=== Part 1: Using Local Hostname Resolution ===
{| width="40%" align="right" cellpadding="10"
|- valign="top"
'''Answer Part 1 observations / questions in your lab log book.'''
=== Part 2: How do I collect the MAC (Hardware) addresses of computers on my network? ===
{{Admon/note | Use your CentOS Host | Complete this investigation on your CentOS host.}}
'''Answer Part 2 observations / questions in your lab log book.'''
=== Part 3: How can I see what network services or ports are active on my CentOS system? ===
{{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.'''
=== Part 4: How do I view and configure the IPTABLES firewall? -- Basic Function/Configuration ===
{{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.}}
==== Testing policies ====
# Execute the command <code>iptables -L</code> and check that the policies on your INPUT and OUTPUT chain are set to DROP
}}
==== Final Tasks ====
# 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 ==
{{Admon/important|Time for a new backup!|If you have successfully completed this lab, make a new backup of your virtual machines.}}
Arrange proof of the following on the screen:
13,420
edits

Navigation menu