13,420
edits
Changes
→Default vs Updated Firewall Rules for VMs
# Run '''iptables -L -v''' but redirect the output to a text file called '''before.txt''' (you will be using this file later).
#You should notice the virtual machine manager no longer lists your vms (i.e. vm1, vm2, or vm3).
#Close and then restart the virtual machine manager. What Happens?<br /> What are the states of your VMs?<br>Record your observations in your lab logbook.
#Close the virtual machine manager application window again.
# '''Restart''' the '''libvirtd''' service.
#Now, restart the virtual machine manager ('''note:''' it should indicate that the virtual machine manager connecting - be patient and wait until you are prompted you to enter the root password). What happens? What is the status of your VMs?
#What does this mean when you lose your vm connections (including the disruption of the libvirtd service)? <br>Record your observations in your lab logbook.
# Re-issue '''iptables -L -v''' commands making certain to redirect output to a second file ('''after.txt'''). This should provide a listing of the new state of your firewall settings.
# You now should have two text files representing the <u>before</u> and <u>after</u> states of your firewall. Compare differences between these two files using the '''diff''' command<br>(You should have used this tool in '''ULI101''').