Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

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 .

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

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M92409524
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in Operating System

Question state the required answer precisely and then

Question : State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. What is the purpose of the command interpreter? Why is it usually separate fr ...

Question topic computerized operating systems os are almost

Question: Topic: Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use our phone or tablet. Find articles that describes the diff ...

Question note apa format 250 words and three reference

Question: Note: APA format 250 words and three reference without plagarism Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use ...

Taskyour job in this assignment is to create two virtual

Task Your job in this assignment is to create two Virtual machines each running a different but the latest distribution of Linux e.g. Ubuntu Server and CentOS. Each of these VM's is to offer services to a user base. The ...

Assignment -building a multi-threaded web server using c

Assignment - Building a multi-threaded web server using C and p threads, following the model from the lecture. Your program will have one thread acting as a dispatcher thread, listening fornetwork connections with reques ...

Question students working at individual pcs in a computer

Question : Students working at individual PC's in a computer laboratory send their files to be printed by a server that spools the files on its hard disk. Under what conditions may a deadlock occur if the disk space for ...

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Foundation of information technologyresearch types of

Foundation of Information Technology Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Expl ...

Show all stepssuppose that the following processes arrive

Show all steps Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all dec ...

Question what do you see as the major differences between

Question : What do you see as the major differences between UNIX/Linux and other operating systems, such as Windows and Mac OS X? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As