Question: Craft rules for both the INPUT and OUTPUT chains to account for return traffic where necessary: Deny all traffic to and from 34.87.95.12. Deny all

Craft rules for both the INPUT and OUTPUT chains to account for return traffic where necessary:

  1. Deny all traffic to and from 34.87.95.12.
  2. Deny all traffic to and from HTTP on your Linux1 server.
  3. Deny all ICMP traffic to and from 192.168.150.0/24.
  4. Permit SSH from the IP address of your Linux2 machine to Linux1 and permit the return traffic.
  5. Deny all other SSH traffic to and from your Linux 1 server.
  6. Permit DNS from your server to 8.8.8.8, also permit the return traffic.
  7. Set the default chain policy for the INPUT and OUTPUT chains to drop.

Question 3a What iptables command(s) did you use to meet criteria 1 from the list above?

Question 3b: What iptables command(s) did you use to meet criteria 2 from the list above?

Question 3c: What iptables command(s) did you use to meet criteria 3 from the list above?

Question 3d: What iptables command(s) did you use to meet criteria 4 from the list above?

Question 3e: What iptables command(s) did you use to meet criteria 5 from the list above?

Question 3f: What iptables command(s) did you use to meet criteria 6 from the list above?

Question 3g: What iptables command(s) did you use to meet criteria 7 from the list above?

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Creating rules for the INPUT and OUTPUT chains for the specified criteria requires the usage of the ... View full answer

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 Computer Network Questions!