The following requirements must be met in order to set up this lab:
Virtual Machine from previous labs (Ubuntu Linux 14.04 VM)
ssh if using Linux, or Putty if you are using Windows as the host operating system. Putty is available from
Internet access for adding packages to the install of Ubuntu

Logging In to VM
1. When Ubuntu starts, LightDM will show normal-user selected. Type in the password you used during the installation and press .
2. Type +, which will bring up the “Run Command” menu. Type in “gnome-terminal” and press . You can also select the terminal if it was attached to the Launcher panel.
3. This will load up a terminal to run commands with. With the terminal open, the operating system will need to be updated before continuing (even since you completed Lab 2). Type in the following to update and install security patches for Ubuntu:

sudo apt-get update && sudo apt-get -y dist-upgrade
(You will be prompted to type in your password)

4. Once the update is complete, click the gear in the top right corner and select “Shut down” and then select “Restart” to reboot the system.

Configuring the Firewall on Ubuntu
1. To make configuring of the firewall easier on Ubuntu, run the following commands to install gufw and openssh-server:

sudo apt-get install -y gufw openssh-server

2. With the host operating system (Linux or Windows), verify you can connect with SSH or Putty.
3. In the terminal, type ifconfig to find the IP address of your virtual machine.
4. In your host operating system, verify with a web browser that you can still reach your virtual machine by typing in the IP address of the virtual machine (that you discovered in the previous step) in the address box and that the “It works!” text appears in the webpage. If the page does not appear, run the following to start Apache and enable it to start by default:

sudo service apache2 start
sudo update-rc.d apache2 defaults

5. Return to the Linux terminal and type sudo gufw which will start the Firewall GUI. Click “Unlock,” if necessary, to allow for changes. Once this is running, you can proceed to the Lab 4 Assignment.

Lab 4 Assignment
You should now have an OpenSSH server and an HTTP server running on the Ubuntu host.
· For Status, change it to “on” and click the “+” on the bottom left of the GUI. Click “Application” under “Preconfigured” to select “SSH” which will change the last value to “SSH.” Click “Add” and click “Close.” Try to connect with a web browser.
· Select all of the rules in the Firewall GUI and select “-” to remove them. Click the “+” and change the service to “HTTP”. Click “Add” and click “Close.” Try to connect with a web browser.
· Click the “+” on the bottom left of the GUI and change the service to “SSH.” Click “Add” and click “Close.” Try to connect with a web browser.
· With these rules in place, open a terminal and run the following commands:

sudo iptables -vnL | grep dpt:22
sudo iptables -vnL | grep dpt:80

· In the Firewall GUI, edit the “80/tcp” rules to “deny” by clicking on the rule and clicking on the edit icon below it (the sun icon next to the plus and minus icons), changing the “Policy” to “Deny” and clicking “Apply.” Then run the same commands.

For the lab report, you should have some form of output from these four procedures.

Lab 4 Questions
Lab Question 1
What are the drawbacks of using a GUI to configure a firewall such as iptables (Hint: the output from iptables -vnL)?

Lab Question 2
What are some issues that may occur with using the “gufw” GUI to configure iptables using the “Preconfigured Services” in this lab?

Lab Question 3
What could be done differently to make these firewall rules even more secure?

Guidelines for Submission:Your responses must be submitted must exclude references and cover page as a Microsoft Word document with double spacing, 12-point Times New Roman font, one-inch margins, and at least four sources cited in APA format. Make sure you cite if you take a piece of someone’s work, very important and your reference should relate to your writing (don’t cite a reference because it relates to the course and not this very paper) at least 4 current and relevant academic references. No heavy paraphrasing of others work. to format references into the APA style if necessary. Extremely important. Intext citations is very essential and highly needed as well.

please communicate for any clarifications and please read instructions and follow them. Some tutors don’t pay attention to instructions at all. Very important

I am not doing try and error here so please do not send a hand shake if you have no ideas or experience with research.

"Are you looking for this answer? We can Help click Order Now"