Chat with us, powered by LiveChat LAB 4 | WriteDemy

Lab 4: Firewalls

   The following requirements must be met in order to set up this lab:

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:

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:

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:

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:

·         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

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

What are some issues that may occur with using the “gufw” GUI to configure iptables using the “Preconfigured Services” in tFor Exceptional Proff,Social Science,,

Get a Unique Answer HERE or Order a Similar Paper

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order