Changes

Jump to: navigation, search

OPS335 Lab 2 draft

270 bytes added, 15:09, 12 January 2016
Automatic firewall updates
= Automatic firewall updates =
Several 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:
# Run '''iptables -L''' and redirect the output to a text file, so you can refer to it later.
# Shutdown your VMs
# Now you have two text files representing the before and after states of your firewall. You can compare the files visually but it's often easier to use a diff tool:
#* The command-line tool '''diff''' takes some time to get used to but you'll get used to it eventually, it's used a lot in the industry. Run '''diff -u before.txt after.txt''' and figure out how to read the output.
#* You can also install a graphical tool that makes it much easier to see differences:kompare before.txt after.txt# 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.
== IPTABLES ==

Navigation menu