Craft rules for both the INPUT and OUTPUT chains to account for return traffic where necessary: Deny
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 traffic to and from HTTP on your Linux1 server.
- Deny all ICMP traffic to and from 192.168.150.0/24.
- Permit SSH from the IP address of your Linux2 machine to Linux1 and permit the return traffic.
- Deny all other SSH traffic to and from your Linux 1 server.
- Permit DNS from your server to 8.8.8.8, also permit the return traffic.
- 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?
Microeconomics
ISBN: 978-1464187025
2nd edition
Authors: Austan Goolsbee, Steven Levitt, Chad Syverson