What are some issues that may occur with using the gufw gui

Assignment Help Operating System
Reference no: EM131600811

Lab Assignment: Firewalls

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.

• 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 <Enter>.

2. Type <ALT>+<F2>, which will bring up the "Run Command" menu. Type in "gnome-terminal" and press <Enter>. 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 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 Questions

1. Lab Question 1

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

2. 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?

3. Lab Question 3

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

Reference no: EM131600811

Questions Cloud

Research inpatient and ambulatory or ancillary health care : Research inpatient and ambulatory or ancillary health care organizations.Explain transformational improvement in relation to organizational performance.
Calculate the activity-based supplier cost per engine : Calculate the activity-based supplier cost per engine (acquisition cost plus supplier-related activity costs - round to the nearest cent)
How politics has influenced health care economics in us : Identify and analyze how politics has influenced health care economics in the U.S.
Are consumer choice and the economy related : Are consumer choice and the economy related? Will less consumer choice lead to a better economy?
What are some issues that may occur with using the gufw gui : What are some issues that may occur with using the gufw GUI to configure iptables using the "Preconfigured Services" in this lab?
What are the common causes of wrongful convictions : What are the common causes of wrongful convictions. Are wrongful convictions occurring with increased or decreased frequency
Is it economical to invest in grader and improve production : The cost to operate a scraper is $120 per hour and to operate the push tractor is $100 per hour. To achieve the 3% RR it will be necessary to add a grader.
High-capacity video mp3 players : You are given the following data for your firm, which sells high-capacity video MP3 players.
Why do you think this documentary was made : Why do you think this documentary was made? What was the filmmaker's purpose for creating this film?

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd