Question: In Linux, you are to create a firewall rule set on your ubuntu server. You are to create a firewall rule set on your Ubuntu

In Linux, you are to create a firewall rule set on your ubuntu server.

You are to create a firewall rule set on your Ubuntu server. Make sure to use VARIABLES for the IP addresses in your firewall. DO NOT HARD CODE THEM. I want to be able to easily change the variables to my IPs so I can test your firewall. For any packets you REJECT or DENY, I want those LOGGED. That means you'll need to modify the rule so that if the rule matches, you DENY or REJECT a packet, that that information is written out to a log file. You'll need to include both your rule set and log file for this assignment. This firewall should implement the following policies. The policies below are in a somewhat RANDOM order, it's up to you to put these in a reasonable order:

1) Allow all loopback connections.

2) Deny any connections from any IPs other than those on your host-only based network.

3) The firewall should be STATEFUL (that's important).

4) Allow echo-requests ONLY from computers on the host-only network.

5) Allow echo-replies ONLY to computers on the host-only network.

6) Allow ftp to the server from the 'other' Linux box ONLY (DENY Windows box).

7) Allow samba to the server from the Windows box ONLY (DENY other Linux box).

8) DENY all telnet connections (Yes, telnet should be running, but I want to see a firewall rule).

9) Allow ssh to the server for BOTH Windows and 'other' Linux box.

10) Allow web access for Windows box ONLY (DENY other Linux box).

11) Default incoming policy should be DENY.

12) Default outgoing policy should be ALLOW.

13) Default forward policy should be DENY.

14) Firewall should flush previously run rules.

Note that for deny rules, you will have to decide to use either REJECT or DROP. I don't want willy-nilly use of either one, you need to justify, in a comment, WHY you chose to use REJECT or DROP ALSO, each rule should be commented, so I understand what it does (yeah, I know what it does, but I want you to get used to commenting). I will count off for any rules without a corresponding comment.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!