Lab 4.5

docx

School

Arizona State University, Polytechnic Campus *

*We aren’t endorsed by this school

Course

488

Subject

Computer Science

Date

Apr 3, 2024

Type

docx

Pages

3

Uploaded by sk8taguyrobear22

Report
Rob Haas IFT 488 Lab 4.5 Adding Packet Filtering Rules Using iptables Professor Lauer 07/25/23 Lab 4.5 – Adding Packet Filtering Rules: Procedures: 1. From the command line, insert a rule to accept SMTP packets (port 25) as used by sendmail. 2. View your configuration.  (10 points)      a. On your system, does your rule appear in the output of iptables -L or appropriate configuration file (firewalld or ufw)? Rule appears in the output of iptables -L.      b. Does your rule appear in the /etc/sysconfig/iptables file or appropriate configuration file (firewalld or ufw)? No.      c. Reboot the system and retest.
Rob Haas IFT 488 Lab 4.5 Adding Packet Filtering Rules Using iptables Professor Lauer 07/25/23 My rule is still not visible even after a restart. 3. From the command line, again add your rule to allow SMTP traffic. After testing your configuration, ensure that the rule remains in place after a reboot, by modifying the appropriate configuration file. 4. Modify the configuration file and apply the changes.   (10 points)     a. Edit the /etc/sysconfig/iptables or appropriate configuration file (firewalld or ufw) to add rules to allow portmap (TCP port 111) and NFS traffic (TCP and UDP port 2049).     b. Do your new rules appear in the output of iptables -L or appropriate configuration file? No, in neither of them.     c. How can you apply these rules without rebooting? The only way we could apply these rules without rebooting would enter the iptables entries manually. Once that it is complete, save the file and run the “service iptables restart” command to reboot the tables.
Rob Haas IFT 488 Lab 4.5 Adding Packet Filtering Rules Using iptables Professor Lauer 07/25/23 5.  A copy of the contents in /etc/sysconfig/iptables or appropriate configuration file and this document with the questions answered.  (5 points) And now we have everything with our rule and shows the changes to the iptables.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help