Open main menu

CDOT Wiki β

Changes

OPS335 Lab 2 draft

126 bytes added, 10:14, 22 January 2016
no edit summary
The best way to learn that is to practice.
==INVESTIGATION 1: IPTABLES BASICS== === Setup ===
Prior to beginning this lab verify network connectivity between your host and your VMs and record some numbers:
#* ssh [ip-of-vm]
= == Performing Automatic firewall updates Firewall Updates ===
To preempt some confusion let's start with this: several rules are automatically added for you because of the virtual network. As an exercise we'll figure out what those are exactly:
# You can use these tools to compare any two text files, they often come in handy. For the purpose of this lab notice that some iptables rules are added automatically by the libvirtd service.
=== Simple rule changes Rule Changes ===
We'll run some commands to practice and get a basic understanding of how the rules work.
# Delete related,established rule, try to do anything
# Restore defaults
 
 
 
==INVESTIGATION 2: SETTING FIREWALL POLICIES ON YOUR VMs==
= Your tasks =
And then overwrite the defaults with the current state of the firewall:
<source lang='bash'>/usr/libexec/iptables/iptables.init save</source>
 
 
 
= Completing the Lab =
13,420
edits